Skip to content

refactor: smarter way #194

refactor: smarter way

refactor: smarter way #194

Workflow file for this run

on: push
name: Commit Message
# NOTE: Skip check on PR so as not to confuse contributors
# NOTE: Also install a PR title checker so we don't mess up merges
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install Dependencies
run: pip install commitizen
- name: Check commit history
run: cz check --rev-range $(git rev-list --all --reverse | head -1)..HEAD