fix: long, ValueError message when list KeyError [APE-1517] (#35) #76
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@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
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 |