Skip to content

Validate example GitHub workflows #9

Validate example GitHub workflows

Validate example GitHub workflows #9

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)
./actionlint -color $(find .github/workflows -name '*.yml' -type f ! -name release.yml -print)