diff --git a/.github/workflows/commit.yml b/.github/workflows/cz.yml similarity index 84% rename from .github/workflows/commit.yml rename to .github/workflows/cz.yml index 5cda42dd..fee284c3 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/cz.yml @@ -19,7 +19,7 @@ jobs: - name: Check Conventional Commit run: | # Define the conventional commit types with emojis - TYPES=("๐ŸŽ‰ feat" "๐Ÿž fix" "๐Ÿ“š docs" "๐Ÿ’… style" "๐Ÿ”จ refactor" "โšก๏ธ perf" "๐Ÿงช test" "๐Ÿ› ๏ธ build" "๐Ÿค– ci" "๐Ÿงน chore" "โช๏ธ revert") + TYPES=("๐Ÿš€ feat" "๐Ÿ› fix" "๐Ÿ“ docs" "โœจ style" "๐Ÿ›  refactor" "โšก๏ธ perf" "๐Ÿ”ฌ test" "๐Ÿ”ง build" "๐Ÿค– ci" "๐Ÿงน chore" "โช revert") # Extract the commit type and emoji from the commit message COMMIT_MSG=$(git log --format=%B -n 1)