Add clarifying example in migration guide to v10 #1858
Workflow file for this run
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: actions-lint | |
| on: | |
| push: | |
| branches: [ master ] | |
| paths-ignore: | |
| - '**/*.gitattributes' | |
| - '**/*.gitignore' | |
| - '**/*.md' | |
| pull_request: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| permissions: {} | |
| env: | |
| FORCE_COLOR: 3 | |
| TERM: xterm | |
| ZIZMOR_VERSION: '1.14.1' | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| with: | |
| filter: 'tree:0' | |
| persist-credentials: false | |
| show-progress: false | |
| - name: Add actionlint problem matcher | |
| run: echo "::add-matcher::.github/actionlint-matcher.json" | |
| - name: Lint workflows | |
| uses: docker://rhysd/actionlint:1.7.7@sha256:887a259a5a534f3c4f36cb02dca341673c6089431057242cdc931e9f133147e9 | |
| with: | |
| args: -color | |
| - name: Lint workflows with zizmor | |
| uses: zizmorcore/zizmor-action@e673c3917a1aef3c65c972347ed84ccd013ecda4 # v0.2.0 | |
| with: | |
| persona: pedantic | |
| version: ${{ env.ZIZMOR_VERSION }} |