File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ PATTERN_SECTION_DEPRECATED="refactor\(deprecated\):|chore\(deprecated\)"
25
25
PATTERN_SECTION_FIXED=" fix:"
26
26
PATTERN_SECTION_SECURITY=" fix\(security\):"
27
27
PATTERN_SECTION_BREAKING=" feat!:|chore!:|refactor!:|fix!:"
28
- PATTERN_SECTION_CHANGED=" build:|chore:|chore\(deps\):|ci:|docs:|style:|refactor:|perf:|test:"
28
+ PATTERN_SECTION_CHANGED=" build:|chore:|chore\(deps\):|chore\(🤖\):| ci:|docs:|style:|refactor:|perf:|test:"
29
29
30
30
# All acceptable patterns
31
31
COMMIT_PREFIX_PATTERN=" ^($PATTERN_SECTION_ADDED |$PATTERN_SECTION_REMOVED |$PATTERN_SECTION_DEPRECATED |$PATTERN_SECTION_FIXED |$PATTERN_SECTION_SECURITY |$PATTERN_SECTION_BREAKING |$PATTERN_SECTION_CHANGED )"
@@ -45,7 +45,7 @@ if ! [[ "$COMMIT_MESSAGE" =~ $COMMIT_PREFIX_PATTERN ]]; then
45
45
echo -e " \tTo fix things............: 'fix:"
46
46
echo -e " \tFor security fixes.......: 'fix(security)'"
47
47
echo -e " \tFor breaking changes.....: 'feat!:' \t 'chore!:' \t 'refactor!:' \t \t 'fix!:'"
48
- echo -e " \tFor any other changes....: 'build:' \t 'chore:' \t 'chore(deps)' \t 'ci:' \t \t \t 'docs:' \t \t 'style:' \t 'refactor:' \t 'perf:' \t 'test:'"
48
+ echo -e " \tFor any other changes....: 'build:' \t 'chore:' \t 'chore(deps)' \t 'chore(🤖)' \t ' ci:' \t \t \t 'docs:' \t \t 'style:' \t 'refactor:' \t 'perf:' \t 'test:'"
49
49
echo " Your commit message: '$COMMIT_MESSAGE '"
50
50
exit 1
51
51
fi
You can’t perform that action at this time.
0 commit comments