diff --git a/.github/workflows/commitlint.yaml b/.github/workflows/commitlint.yaml index c376171..f6263a7 100644 --- a/.github/workflows/commitlint.yaml +++ b/.github/workflows/commitlint.yaml @@ -22,4 +22,4 @@ jobs: run: pip install .[dev] - name: Check commit history - run: cz check --rev-range $(git rev-list --all --reverse | head -1)..HEAD + run: cz check --rev-range HEAD~1..HEAD