Skip to content

Adds actionlint to lint GitHub Actions workflows (#4326) #5

Adds actionlint to lint GitHub Actions workflows (#4326)

Adds actionlint to lint GitHub Actions workflows (#4326) #5

Workflow file for this run

name: Lint GitHub Actions workflows
on:
push:
branches: [main]
paths: ['.github/workflows/**']
pull_request:
paths: ['.github/workflows/**']
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Enable the actionlint matcher
run: echo "::add-matcher::.github/actionlint-matcher.json"
- name: Lint GitHub Actions workflows
uses: docker://rhysd/actionlint:latest
with:
args: -color