name: Commit Messages
# Enforces the Conventional Commits specification (https://www.conventionalcommits.org)
# on commit messages, for every push to any branch and on pull requests.
on:
push:
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
commitlint:
name: Conventional Commits (commitlint)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
# Full history so the action can lint every commit in the push range.
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v6
with:
configFile: commitlint.config.mjs