Skip to content

Commit c734b4a

Browse files
authored
Merge pull request #20 from gooddata/jimi/lint
fix(commit-lint): skip revert commit properly
2 parents 3a024ad + ae01ce4 commit c734b4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/commit-lint-shell.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
COMMIT_SUBJECT=$(echo "$COMMIT" | cut -d' ' -f2-)
5252
COMMIT_VIOLATIONS=""
5353
54-
if [[ "$COMMIT_SUBJECT" =~ ^revert ]]; then
54+
if [[ "$COMMIT_SUBJECT" =~ ^[Rr]evert ]]; then
5555
continue
5656
fi
5757

0 commit comments

Comments
 (0)