From ae01ce4ef8ccbf8c3317910486ae71091cb245b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Mikul=C3=A1=C5=A1ek?= Date: Wed, 22 Jan 2025 17:36:44 +0100 Subject: [PATCH] fix(commit-lint): skip revert commit properly --- .github/workflows/commit-lint-shell.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit-lint-shell.yaml b/.github/workflows/commit-lint-shell.yaml index a04118e..893cafb 100644 --- a/.github/workflows/commit-lint-shell.yaml +++ b/.github/workflows/commit-lint-shell.yaml @@ -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