From dabd534b59f09adca95f29525ca2767515ba8b98 Mon Sep 17 00:00:00 2001 From: SW Baek Date: Thu, 13 Feb 2025 23:06:51 +0900 Subject: [PATCH] [#0] enhance `check-commit-convention.yml` to avoid `[#0]` commit --- .github/workflows/check-commit-convention.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-commit-convention.yml b/.github/workflows/check-commit-convention.yml index 04e69ae..b94e333 100644 --- a/.github/workflows/check-commit-convention.yml +++ b/.github/workflows/check-commit-convention.yml @@ -28,9 +28,9 @@ jobs: invalid_commits=0 echo "🔍 Checking commit message convention..." while IFS= read -r commit_message; do - # "Merge"로 ė‹œėž‘하는 ëДė‹œė§€ëŠ” ęē€ė‚Žė—ė„œ ė œė™ļ - if [[ "$commit_message" =~ ^Merge ]]; then - echo "⚡ Skipping merge commit: $commit_message" + # "Merge"로 ė‹œėž‘하는 ëДė‹œė§€ 또는 "[#0]"ėī 폎í•Ļ된 ëДė‹œė§€ëŠ” ęē€ė‚Žė—ė„œ ė œė™ļ + if [[ "$commit_message" =~ ^Merge || "$commit_message" =~ \[\#0\] ]]; then + echo "⚡ Skipping commit: $commit_message" continue fi