backport of commit 9f8f81d15f3d88a20e4ea033606a23271108616e #745
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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | |
- 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'" |