Skip to content

Commit

Permalink
fixup! tools: fix commit-lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Oct 31, 2021
1 parent 6abaa41 commit d6067e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
- name: Validate commit messages
run: |
echo "::add-matcher::.github/workflows/commit-lint-problem-matcher.json"
git log --pretty="format:%H" -${{ github.event.pull_request.commits }} HEAD^ | xargs npx -q core-validate-commit --no-validate-metadata --tap
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

0 comments on commit d6067e7

Please sign in to comment.