Skip to content

Commit

Permalink
Use env var
Browse files Browse the repository at this point in the history
  • Loading branch information
aeisenberg committed Jul 18, 2024
1 parent 9694ceb commit 718c424
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/autofix-reminder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
gh api "repos/${GITHUB_REPOSITORY}/issues/${PR_NUMBER}/labels" | jq -r '.[].name' > labels.txt
if grep -q -x -e "${REQUIRES_AUTOFIX_LABEL}" labels.txt || grep -q -x -e "${DOES_NOT_REQUIRE_AUTOFIX_LABEL}" labels.txt; then
echo "::set-output name=should_continue::false"
echo "should_continue=false" >> $GITHUB_OUTPUT
echo "Stopping workflow due to label presence."
else
echo "::set-output name=should_continue::true"
echo "should_continue=true" >> $GITHUB_OUTPUT
fi
- name: Add label
Expand Down

0 comments on commit 718c424

Please sign in to comment.