Skip to content

Commit d48fb16

Browse files
authored
ci: Allow PR titles to start with [ (#2668)
1 parent 92595f9 commit d48fb16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check-pr-title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- name: Check if message starts with upper-case letter
2020
run: |
21-
if [[ ! "${{ github.event.pull_request.title }}" =~ ^[a-z]+:\ [A-Z] ]]; then
21+
if [[ ! "${{ github.event.pull_request.title }}" =~ ^[a-z]+:\ [\[A-Z] ]]; then
2222
echo "Error: PR title must start with an upper-case letter."
2323
exit 1
2424
fi

0 commit comments

Comments
 (0)