fix(workflow): avoid IS_PR unbound in gate early-exit (#740) #224
This file contains hidden or 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: Workflow Lint | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/**' | |
| - 'action.yml' | |
| push: | |
| paths: | |
| - '.github/workflows/**' | |
| - 'action.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| actionlint: | |
| name: actionlint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Lint workflows | |
| uses: rhysd/actionlint@v1.7.9 | |
| with: | |
| args: -shellcheck= |