[EngSys] Add check ArmAutoSignoffPreview #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ARM Auto Signoff (Preview) | |
on: | |
pull_request: | |
types: | |
- labeled | |
- unlabeled | |
- opened | |
- reopened | |
- synchronize | |
workflow_dispatch: | |
inputs: | |
owner: | |
description: The account owner of the repository. The name is not case sensitive. | |
required: true | |
type: string | |
repo: | |
description: The name of the repository without the .git extension. The name is not case sensitive. | |
required: true | |
type: string | |
issue_number: | |
description: The number of the pull request. | |
required: true | |
type: string | |
head_sha: | |
description: The SHA of the commit. | |
required: true | |
type: string | |
permissions: | |
contents: read | |
jobs: | |
arm-auto-signoff-preview: | |
name: ARM Auto Signoff (Preview) | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# Required to determine files changed in PR | |
fetch-depth: 2 | |
- name: ARM Auto Signoff (Preview) | |
uses: actions/github-script@v7 | |
env: | |
OWNER: ${{ inputs.owner }} | |
REPO: ${{ inputs.repo }} | |
ISSUE_NUMBER: ${{ inputs.issue_number }} | |
HEAD_SHA: ${{ inputs.head_sha }} | |
with: | |
script: | | |
const { default: armAutoSignoffPreview } = | |
await import('${{ github.workspace }}/.github/workflows/src/arm-auto-signoff-preview.js'); | |
await armAutoSignoffPreview({ github, context, core }); |