Skip to content

Commit 34af053

Browse files
authored
More harsh test on title of PR
1 parent a16365e commit 34af053

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/tests-pr.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,14 @@ jobs:
3939
if echo "$TITLE" | grep -Eiq '^Fix for issue #?[0-9]+'; then
4040
echo "❌ Title starts with 'Fix for issue <number>' — not allowed."
4141
exit 1
42-
else
43-
echo "✅ Title format OK"
4442
fi
43+
44+
if echo "$TITLE" | grep -Eiq '^Fixed the issue'; then
45+
echo "❌ Title starts with 'Fixed the issue' — not allowed."
46+
exit 1
47+
fi
48+
49+
echo "✅ Title format OK"
4550
env:
4651
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4752

0 commit comments

Comments
 (0)