From 78873fa3a8872eaee3e10211174cb5338c021a4f Mon Sep 17 00:00:00 2001 From: Pun Butrach Date: Fri, 10 Nov 2023 15:27:40 +0700 Subject: [PATCH] Write to GitHub Output environment (#3689) * Migrate to enviroments * >> $GITHUB_OUTPUT --- .github/workflows/close_low_effort_issues.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/close_low_effort_issues.yml b/.github/workflows/close_low_effort_issues.yml index 25d0a34e55..fc6f09d1fc 100644 --- a/.github/workflows/close_low_effort_issues.yml +++ b/.github/workflows/close_low_effort_issues.yml @@ -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." \ No newline at end of file + 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."