Skip to content

ci: add sonar code coverage #21

ci: add sonar code coverage

ci: add sonar code coverage #21

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@11bd71901bbe5b1630ceea73d27597364c9af683 # 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@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
with:
python-version: 3.x
- run: pip install commitizen
- name: Check commit messages
run: cz check --rev-range origin/${GITHUB_BASE_REF}..