xlsx-to-tsv/.forgejo/workflows/conventional-commits.yml
Michael Hanke fa04d19c7d
All checks were successful
Codespell / Check for spelling errors (push) Successful in 28s
Ruff / Code linting (push) Successful in 36s
Unit tests (Linux) / check (push) Successful in 1m20s
feat: initial implementation
2026-08-23 21:50:37 +02:00

18 lines
606 B
YAML

name: Conventional commits
on: pull_request
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 commitizen
run: uv tool install commitizen
- name: Run commit message checks
run: |
set -x; cz check --rev-range ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}