Skip to content

Run actionlint on GitHub workflows #1

Run actionlint on GitHub workflows

Run actionlint on GitHub workflows #1

Workflow file for this run

name: actionlint
on:
pull_request:
paths:
- ".github/workflows/*.yml"
push:
branches:
- main
paths:
- ".github/workflows/*.yml"
workflow_dispatch:
permissions:
contents: read
pull-requests: write
jobs:
action-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check workflow files
shell: bash
run: |
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
# shellcheck disable=SC2046
./actionlint -color $(find .github/workflows -name '*.yml' -type f ! -name release.yml -print)