backport of commit e963d55ea09d5538976deead1b1d336623b2f353 (#24585) #4423
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 |