Skip to content

Commit

Permalink
Write to GitHub Output environment (LawnchairLauncher#3689)
Browse files Browse the repository at this point in the history
* Migrate to enviroments

* >> $GITHUB_OUTPUT
  • Loading branch information
validcube committed Nov 10, 2023
1 parent 5994b51 commit 78873fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/close_low_effort_issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
echo "$i"
if [ $ISSUE_TITLE == "$i" ]; then
echo "low effort"
echo ::set-output name=isLowEffort::true
echo "isLowEffort=true" >> $GITHUB_OUTPUT
break
else
echo "NOT low effort"
echo ::set-output name=isLowEffort::false
echo "isLowEffort=false" >> $GITHUB_OUTPUT
fi
done
Expand All @@ -39,4 +39,4 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISSUE_URL: ${{ github.event.issue.html_url }}
run: |
gh issue close $ISSUE_URL -c "Thanks for making this issue! Unfortunately, this issue doesn't have a proper title; therefore this issue has been closed. You can create a new issue again, but this time make sure you improve the title."
gh issue close $ISSUE_URL -c "Thanks for making this issue! Unfortunately, this issue doesn't have a proper title; therefore this issue has been closed. You can create a new issue again, but this time make sure you improve the title."

0 comments on commit 78873fa

Please sign in to comment.