Skip to content

Refactor: new project structure #477

Refactor: new project structure

Refactor: new project structure #477

name: "Lint PR"
on:
pull_request_target:
types:
- opened
- edited
- synchronize
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