backport of commit e48bfeccd7f416a5698da1c91fec2ed293ada216 #4536
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
# If the repository is public, be sure to change to GitHub hosted runners | |
name: Lint GitHub Actions Workflows | |
on: | |
push: | |
paths: | |
- '.github/workflows/**' | |
permissions: | |
contents: read | |
jobs: | |
actionlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: "Check workflow files" | |
uses: docker://docker.mirror.hashicorp.services/rhysd/actionlint:latest |