Repository navigation
Don't flag daily failures with "help wanted" #23
Workflow file for this run
This file contains hidden or 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
| name: Lint GitHub Actions workflows | ||
|
Check warning on line 1 in .github/workflows/actionlint.yml
|
||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - main | ||
| paths: | ||
| - ".github/workflows/**" | ||
| pull_request: | ||
| paths: | ||
| - ".github/workflows/**" | ||
| permissions: | ||
| contents: read | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
| cancel-in-progress: true | ||
| jobs: | ||
| actionlint: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| persist-credentials: false | ||
| - name: Run actionlint | ||
| # This is the recommended way to run actionlint in CI: | ||
| # https://github.com/rhysd/actionlint/blob/main/docs/usage.md#use-actionlint-on-github-actions. | ||
| # The actionlint pre-commit hook would be an alternative, | ||
| # but it causes our pre-commit CI jobs to time out. | ||
| # The Docker image includes ShellCheck and Pyflakes. | ||
| uses: docker://rhysd/actionlint:1.7.12@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667 | ||
| with: | ||
| args: -color -verbose | ||