fix: update check-pr-title to allow "WIP: "
All checks were successful
CI / Check PR Title (pull_request) Successful in 15s
CI / Go Lint (pull_request) Successful in 32s
CI / Markdown Lint (pull_request) Successful in 17s
CI / Makefile Lint (pull_request) Successful in 31s
CI / Unit Tests (pull_request) Successful in 31s
CI / Fuzz Tests (pull_request) Successful in 1m2s
CI / Mutation Tests (pull_request) Successful in 1m6s

This commit is contained in:
2026-03-29 22:25:06 +02:00
parent 521b38c550
commit 9b663907c4

View File

@@ -12,7 +12,7 @@ jobs:
steps:
- run: |
TITLE="${{ gitea.event.pull_request.title }}"
if ! echo "$TITLE" | grep -qE '^(feat|fix|docs|chore|ci|test|refactor|perf|build|style|revert)(\(.+\))?(!)?: .+'; then
if ! echo "$TITLE" | grep -qE '^(WIP: )?(feat|fix|docs|chore|ci|test|refactor|perf|build|style|revert)(\(.+\))?(!)?: .+'; then
echo "::error::Pull Request title must follow conventional commits"
exit 1
fi