Updated and modified files for the project #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |