hcp-ansible/.gitea/workflows/development.yml
Bertrand Lanson bd5f217682
All checks were successful
development / Check commit compliance (push) Successful in 7s
pull-requests-open / Check commit compliance (pull_request) Successful in 7s
ci: remove the python setup step altogether
2024-05-04 01:00:00 +02:00

27 lines
603 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
- 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: ./