Skip to content

Commit

Permalink
ignore white space
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Dec 10, 2024
1 parent be6abce commit cd8467b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr_tasks_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
PR_BODY=$(echo "$PR_DATA" | jq -r .body)
# Check for unchecked tasks (- [ ])
if echo "$PR_BODY" | grep -q "\- \[ \]"; then
if echo "$PR_BODY" | grep -q "\s*-\s*\[ \]"; then
echo "Error: The following checkboxes are not marked as completed:"
echo "$PR_BODY" | grep "\- \[ \]"
echo "$PR_BODY" | grep "\s*-\s*\[ \]"
exit 1
fi
Expand Down

0 comments on commit cd8467b

Please sign in to comment.