backport of commit 00b88bda741a384e47e8303335380846cd194e4c #4111
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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: "Check workflow files" | |
uses: docker://docker.mirror.hashicorp.services/rhysd/actionlint:latest |