mirror of
https://hub.psychoinformatics.de/actions/xlsx-to-tsv.git
synced 2026-09-10 03:46:04 +00:00
18 lines
606 B
YAML
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 }}
|