From b557586a62ce02c201448e130acd1a7530908610 Mon Sep 17 00:00:00 2001 From: clsty Date: Tue, 21 Oct 2025 15:13:12 +0800 Subject: [PATCH] Try to fix auto-close-issue.yml --- .github/workflows/auto-close-issue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-close-issue.yml b/.github/workflows/auto-close-issue.yml index 778140ff2..ca92712c5 100644 --- a/.github/workflows/auto-close-issue.yml +++ b/.github/workflows/auto-close-issue.yml @@ -27,7 +27,7 @@ jobs: echo "Checking issue #${ISSUE_NUMBER} for the target checked checkbox..." # Look for the exact label text in a checked markdown checkbox (case-insensitive). - if printf '%s' "$BODY" | grep -Fiq "- [x] I've ticked the checkboxes without reading their contents"; then + if printf '%s' "$BODY" | grep -Fiq -- "- [x] I've ticked the checkboxes without reading their contents"; then echo "Target checkbox is checked. Proceeding to comment and close the issue." # --- Get issue node id via GraphQL (logged for debugging) ---