ci: update PR title checker (#3713)

This commit is contained in:
Bartek Iwańczuk
2026-03-28 08:55:24 +01:00
committed by GitHub
parent 2c94a1da2e
commit 3b61ede394
+2 -2
View File
@@ -15,8 +15,8 @@ jobs:
env:
TITLE: ${{ github.event.pull_request.title }}
run: |
if ! echo "$TITLE" | grep -qP '^(feat|fix|test|chore|ci):'; then
echo "::error::PR title must start with feat:, fix:, test:, chore:, or ci:"
if ! echo "$TITLE" | grep -qP '^(chore|ci|docs|feat|fix|refactor|test):'; then
echo "::error::PR title must start with chore:, ci:, docs:, feat:, fix:, refactor: or test:"
exit 1
fi