chore(pr): Version bump
This commit is contained in:
@@ -8,7 +8,7 @@ COMMIT_MSG=$(cat "$COMMIT_MSG_FILE")
|
||||
|
||||
# Regex pattern for Conventional Commits
|
||||
# Example: "feat: add new feature" or "fix!: break everything"
|
||||
PATTERN='^(feat|fix|docs|style|refactor|perf|test|chore|revert|build|ci|wip|workflow)([!]?): .{1,}$'
|
||||
PATTERN='^(feat|fix|docs|style|refactor|perf|test|chore|revert|build|ci|wip|workflow)(\(.*\))?([!]?): .{1,}$'
|
||||
|
||||
if ! echo "$COMMIT_MSG" | grep -Eq "$PATTERN"; then
|
||||
echo "❌ Invalid commit message format."
|
||||
|
||||
Reference in New Issue
Block a user