ci: Allow PR titles to start with [ (#2668)

This commit is contained in:
Ayaz Salikhov
2025-10-06 15:20:26 +01:00
committed by GitHub
parent 92595f95a0
commit d48fb168c6

View File

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