Skip to content

chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v5 #42

chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v5

chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v5 #42

Workflow file for this run

---
name: PR checks
on:
pull_request:
types:
- opened
- edited
- synchronize
- reopened
- unlocked
permissions:
contents: read
jobs:
check-conventional-commit:
name: Check commit messages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
ref: "${{ github.event.pull_request.head.ref }}"
repository: "${{ github.event.pull_request.head.repo.full_name }}"
fetch-depth: 0
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
with:
cache: "pip" # caching pip dependencies
- run: pip install commitizen
- name: Check commit messages
run: cz check --rev-range origin/${GITHUB_BASE_REF}..