backport of commit 4708e06199d539292dd80eda331998e3d20871b8 #4284
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 |