You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/pr-verify.yml
+9-10Lines changed: 9 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -38,16 +38,15 @@ jobs:
38
38
exit 1
39
39
fi
40
40
41
-
if ! [[ "$TITLE" =~ ^($'\u26A0'|:warning:|$'\u2728'|:sparkles:|$'\U0001F41B'|:bug:|$'\U0001F4D6'|:book:|$'\U0001F680'|:release:|$'\U0001F331'|:seedling:) ]]; then
42
-
echo "Error: Invalid PR title format."
43
-
echo "Your PR title must start with one of the following indicators:"
44
-
echo "- Breaking change: ⚠ (U+26A0) or :warning:"
45
-
echo "- Non-breaking feature: ✨ (U+2728) or :sparkles:"
46
-
echo "- Patch fix: 🐛 (U+1F41B) or :bug:"
47
-
echo "- Docs: 📖 (U+1F4D6) or :book:"
48
-
echo "- Release: 🚀 (U+1F680) or :release:"
49
-
echo "- Infra/Tests/Other: 🌱 (U+1F331) or :seedling:"
50
-
exit 1
41
+
if ! [[ "$TITLE" =~ ^(⚠|:warning:|✨|:sparkles:|🐛|:bug:|📖|:book:|🚀|:release:|🌱|:seedling:) ]]; then
42
+
echo "Error: Invalid PR title format."
43
+
echo "Your PR title must start with one of the following indicators:"
44
+
echo "- Breaking change: ⚠ or :warning:"
45
+
echo "- Non-breaking feature: ✨ or :sparkles:"
46
+
echo "- Patch fix: 🐛 or :bug:"
47
+
echo "- Docs: 📖 or :book:"
48
+
echo "- Release: 🚀 or :release:"
49
+
echo "- Infra/Tests/Other: 🌱 (U+1F331) or :seedling:"
0 commit comments