Skip to content

Add trusted execution #45

Add trusted execution

Add trusted execution #45

name: Conventional commits
on: pull_request
jobs:
check-messages:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.11
architecture: x64
- name: Checkout
uses: actions/checkout@v4
with:
# we need all the history to be able to resolve revision ranges properly
fetch-depth: 0
- name: Install commitizen
run: python -m pip install commitizen
- name: Run commit message checks
run: |
cz check --rev-range 630c2f514fd8d42c4def3d7ee588487ffa64cc38..${{ github.event.pull_request.head.sha }}