Skip to content

GitHub Actions lint

GitHub Actions lint #6

Workflow file for this run

name: GitHub Actions lint
permissions:
contents: read
# Cancel workflow if there is a new change to the branch.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
on:
merge_group:
pull_request:
branches:
- main
paths:
- ".github/workflows/**"
- ".github/actionlint.yaml"
- "mise.toml"
push:
branches:
- main
paths:
- ".github/workflows/**"
- ".github/actionlint.yaml"
- "mise.toml"
jobs:
actions-lint:
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@v6
- uses: jdx/mise-action@v4
- run: mise run lint:actions