From 6b68438c341e716943c1a8a2de25cddc4aa3ae9c Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Thu, 26 Sep 2024 09:18:37 -0700 Subject: [PATCH] Change unchecked number output --- .github/workflows/pr-checklist.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-checklist.yml b/.github/workflows/pr-checklist.yml index e6eeefe8ee..30fb8418a8 100644 --- a/.github/workflows/pr-checklist.yml +++ b/.github/workflows/pr-checklist.yml @@ -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