Skip to content

docs!: create docs and readme. #483

docs!: create docs and readme.

docs!: create docs and readme. #483

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