backport of commit fe35f74ee3d5c1a4c08930733b1ea0f848fc2b6b #3562
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: Lint GitHub Actions workflows | |
| on: | |
| push: | |
| paths: | |
| - ".github/workflows/*.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| actionlint: | |
| runs-on: ${{ fromJSON(vars.RUNNER) }} | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Check workflow files | |
| uses: docker://docker.mirror.hashicorp.services/rhysd/actionlint@sha256:5acca218639222e4afbc82fc6e9ef56cbe646ade3b07f3f5ec364b638258a244 | |
| with: | |
| args: -color -ignore SC2129 -ignore "'property \"download-path\" is not defined in object type'" |