Skip to content

Commit

Permalink
ci: made conv commit check only current commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmillennick committed Jan 21, 2025
1 parent a5d73e7 commit bbc89c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/devops/conv-commit-check
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ echo "Checking for conventional commits"
COMMIT_HASH_CURRENT=$(git rev-parse HEAD)

# check for conventional commits
CONVENTIONAL_COMMITS=$(cog check)
CONVENTIONAL_COMMITS=$(cog check $COMMIT_HASH_CURRENT..$COMMIT_HASH_CURRENT)

if echo "$CONVENTIONAL_COMMITS" | grep -qi "Error:"; then
echo "Failures found in conventional commit"
Expand Down

0 comments on commit bbc89c5

Please sign in to comment.