Reject malformed closing fences
test / test (pull_request) Successful in 7s

Authored-By: Codex (GPT-5) <noreply@openai.com>
This commit is contained in:
2026-08-27 17:13:39 +00:00
parent 0d768ef75b
commit a97440968c
3 changed files with 11 additions and 3 deletions
+4
View File
@@ -29,6 +29,10 @@ if printf '%s\n' "${BODY}" | grep -Fq '<!--' ||
echo "FAIL[check-naming]: PR body must not contain HTML comment delimiters"
FAILED=1
fi
if printf '%s\n' "${BODY}" | grep -Eq '^[[:blank:]]*(```|~~~)'; then
echo "FAIL[check-naming]: PR body must not contain fenced code delimiters"
FAILED=1
fi
# ---- branch form ----
# <role>/bug-<id>/<kebab>