forked from orinoco/things-enrichment-tools
18 lines
617 B
YAML
18 lines
617 B
YAML
name: Conventional commits
|
|
on: [push, pull_request]
|
|
jobs:
|
|
check-messages:
|
|
runs-on: debian-latest
|
|
steps:
|
|
- name: Checkout project
|
|
uses: https://hub.psychoinformatics.de/actions/checkout-action@v1-improved
|
|
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: |
|
|
cz check --rev-range 2e244e9ee5758884ac2ae3d79b340d3606695d3b..HEAD
|