Write to GitHub Output environment (#3689)

* Migrate to enviroments

* >> $GITHUB_OUTPUT
This commit is contained in:
Pun Butrach
2023-11-10 15:27:40 +07:00
committed by GitHub
parent 5994b51f3d
commit 78873fa3a8

View File

@@ -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
@@ -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."