Skip to content

Commit

Permalink
Merge pull request #20 from gooddata/jimi/lint
Browse files Browse the repository at this point in the history
fix(commit-lint): skip revert commit properly
  • Loading branch information
ivanmjartan authored Jan 22, 2025
2 parents 3a024ad + ae01ce4 commit c734b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/commit-lint-shell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
COMMIT_SUBJECT=$(echo "$COMMIT" | cut -d' ' -f2-)
COMMIT_VIOLATIONS=""
if [[ "$COMMIT_SUBJECT" =~ ^revert ]]; then
if [[ "$COMMIT_SUBJECT" =~ ^[Rr]evert ]]; then
continue
fi
Expand Down

0 comments on commit c734b4a

Please sign in to comment.