Skip to content

Commit 3b61ede

Browse files
authored
ci: update PR title checker (#3713)
1 parent 2c94a1d commit 3b61ede

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
env:
1616
TITLE: ${{ github.event.pull_request.title }}
1717
run: |
18-
if ! echo "$TITLE" | grep -qP '^(feat|fix|test|chore|ci):'; then
19-
echo "::error::PR title must start with feat:, fix:, test:, chore:, or ci:"
18+
if ! echo "$TITLE" | grep -qP '^(chore|ci|docs|feat|fix|refactor|test):'; then
19+
echo "::error::PR title must start with chore:, ci:, docs:, feat:, fix:, refactor: or test:"
2020
exit 1
2121
fi
2222

0 commit comments

Comments
 (0)