query-things/.forgejo/workflows/conventional-commits.yml
Michael Hanke 4f2be8a4e5
All checks were successful
Codespell / Check for spelling errors (push) Successful in 34s
Ruff / Code linting (push) Successful in 40s
Conventional commits / check-messages (push) Successful in 45s
Unit tests (Linux) / check (push) Successful in 1m42s
ci: enable commit testing for reals
Check from when we can enforce it -- paying for sins of the past...

Use the same implementation for CI too.
2026-08-26 14:57:00 +02:00

20 lines
520 B
YAML

name: Conventional commits
on:
pull_request:
push:
jobs:
check-messages:
runs-on: debian-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
with:
# we need all the history to be able to resolve revision ranges properly
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Install hatch
run: uv tool install hatch
- name: Run commit message checks
run: |
hatch run cz:check-commits