backport of commit 0b0389fb7afa4318f96d10c7be559e7c455dd8fe #2007
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: Lint GitHub Actions workflows | |
on: | |
push: | |
paths: | |
- ".github/workflows/*.yml" | |
permissions: | |
contents: read | |
jobs: | |
actionlint: | |
runs-on: ${{ fromJSON(vars.RUNNER) }} | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- 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'" |