From ec85636219e996bb2a53a59588b500b1a52d1e89 Mon Sep 17 00:00:00 2001 From: bbhtt Date: Sat, 12 Jul 2025 23:02:26 +0530 Subject: [PATCH] pr-check: Partial match for required checkliste item --- .github/workflows/pr-check.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 6b534d1..0ad4197 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -116,10 +116,11 @@ jobs: BLOCKED=1 fi - REQUIRED_ITEM="I have read and followed all the [Submission requirements][reqs] and the [Submission guide][reqs2] and I agree to them." + REQUIRED_ITEM="I have read and followed all the [Submission requirements]" REQUIRED_CHECKED=$(printf "%s\n" "$NORMALIZED_PR_BODY" | grep -Fi "[x] $REQUIRED_ITEM" || true) if [ -z "$REQUIRED_CHECKED" ]; then + echo "Required checklist not found in PR body" BLOCKED=1 fi