| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,4 +22,4 @@ jobs: | |||
| 22 | 22 | - name: Validate commit messages | |
| 23 | 23 | run: | | |
| 24 | 24 | echo "::add-matcher::.github/workflows/commit-lint-problem-matcher.json" | |
| 25 | - git log --oneline ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} | grep -v -e fixup -e squash | awk '{ print $1 }' | xargs npx -q core-validate-commit --no-validate-metadata --tap | ||
| 25 | + git log --oneline -${{ github.event.pull_request.commits }} HEAD^ | awk '{ if ($2 != "fixup!" && $2 != "squash!") { print $1 } }' | xargs npx -q core-validate-commit --no-validate-metadata --tap | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments