backport of commit b050c73a6d31b2c6eb2943719018254bdbdf432b (#24822) #4673
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: "Check workflow files" | |
uses: docker://docker.mirror.hashicorp.services/rhysd/actionlint:latest |