Skip to content

Commit 718c424

Browse files
committed
Use env var
1 parent 9694ceb commit 718c424

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/autofix-reminder.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
gh api "repos/${GITHUB_REPOSITORY}/issues/${PR_NUMBER}/labels" | jq -r '.[].name' > labels.txt
3737
3838
if grep -q -x -e "${REQUIRES_AUTOFIX_LABEL}" labels.txt || grep -q -x -e "${DOES_NOT_REQUIRE_AUTOFIX_LABEL}" labels.txt; then
39-
echo "::set-output name=should_continue::false"
39+
echo "should_continue=false" >> $GITHUB_OUTPUT
4040
echo "Stopping workflow due to label presence."
4141
else
42-
echo "::set-output name=should_continue::true"
42+
echo "should_continue=true" >> $GITHUB_OUTPUT
4343
fi
4444
4545
- name: Add label

0 commit comments

Comments
 (0)