Skip to content

feat!: add context to checks #553

feat!: add context to checks

feat!: add context to checks #553

name: "Lint PR"
on:
pull_request:
jobs:
conventional-commits-check:
name: Check conventional commits
runs-on: ubuntu-latest
# Security!
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
permissions: read-all
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install commitizen
run: pip install commitizen
- name: commitizen check
run: cz check --rev-range ${{ github.event.pull_request.base.sha }}..HEAD