Skip to content

Commit 45a72a6

Browse files
author
Samuel Hopko
authored
(TRIVIAL) Update of regex to match only uppercase
1 parent d68c710 commit 45a72a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inputs:
88
pattern:
99
description: 'A regex pattern to check if a commit message is valid.'
1010
required: true
11-
default: "([A-Z]+-[0-9]+|TRIVIAL|[mM]erge)"
11+
default: "(\b[A-Z][A-Z0-9_]+-[1-9][0-9]*|TRIVIAL|[mM]erge)"
1212
flags:
1313
description: 'Expression flags change how the expression is interpreted.'
1414
required: false

0 commit comments

Comments
 (0)