backport of commit 4aa428eab9e640ca4cc700c374082c888a0c98ef #1057
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Check workflow files | |
uses: docker://docker.mirror.hashicorp.services/rhysd/actionlint@sha256:3f24bf9d72ca67af6f9f8f3cc63b0e24621b57bf421cecfc452c3312e32b68cc # 1.6.24 | |
with: | |
args: -color -ignore SC2129 -ignore "'property \"download-path\" is not defined in object type'" |