backport of commit 62d9b26fc277735011e9856419de2ef271da8c7d #2499
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- 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'" |