Skip to content

Commit

Permalink
fix(commit-lint): skip revert commit properly
Browse files Browse the repository at this point in the history
  • Loading branch information
jimirocks committed Jan 22, 2025
1 parent 3a024ad commit ae01ce4
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 ae01ce4

Please sign in to comment.