Skip to content

Commit

Permalink
ci: avoid command duplication in CI and use set -x to visualize what …
Browse files Browse the repository at this point in the history
…is ran

Just treating my duplication allergy
  • Loading branch information
yarikoptic authored and mih committed Oct 28, 2024
1 parent 8769ec5 commit 0d2b470
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/conventional-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ jobs:
run: python -m pip install commitizen
- name: Run commit message checks
run: |
echo cz check --rev-range ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
cz check --rev-range ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
set -x; cz check --rev-range ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}

0 comments on commit 0d2b470

Please sign in to comment.