Skip to content

Commit

Permalink
Change unchecked number output
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexsandruss committed Sep 26, 2024
1 parent f7ed9a0 commit 6b68438
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pr-checklist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ jobs:
run: |
DESCRIPTION="${{ steps.pr.outputs.body }}"
UNCHECKED=$(echo "$DESCRIPTION" | grep -c '\[ \]')
echo "::set-output name=unchecked::$UNCHECKED"
echo "Unchecked checkboxes: $UNCHECKED"
echo "unchecked=$UNCHECKED" >> $GITHUB_STATE
- name: Move PR to draft if not all checkboxes are checked
if: steps.checkboxes.outputs.unchecked != '0'
uses: actions/github-script@v7
Expand Down

0 comments on commit 6b68438

Please sign in to comment.