hashistack/.gitea/workflows/development.yml
Bertrand Lanson 13672f774e
All checks were successful
development / Check commit compliance (push) Successful in 6s
ci: do not cache pip for ci pipeline (this is not a python repo)
2024-05-04 00:58:43 +02:00

31 lines
689 B
YAML

---
name: development
on:
push:
branches-ignore:
- main
jobs:
commit-check:
name: Check commit compliance
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install commitizen
run: pip3 install commitizen
shell: bash
working-directory: ./
- name: Verify commit message compliance
run: |
echo "cz check --message '${{ github.event.head_commit.message }}'"
cz check --message "${{ github.event.head_commit.message }}"
shell: bash
working-directory: ./