Try to fix auto-close-issue.yml

This commit is contained in:
clsty
2025-10-21 15:04:10 +08:00
parent e8937e2030
commit 1842ab790e
+1 -1
View File
@@ -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 "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) ---