Skip to content

Commit 4cb41af

Browse files
authored
Update presubmit.yml
set output is deprecated
1 parent dd0a548 commit 4cb41af

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/presubmit.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Presubmit.ai PR Review
1+
name: AI Review
22

33
on:
44
pull_request_target:
@@ -11,7 +11,6 @@ jobs:
1111
runs-on: ubuntu-latest
1212
outputs:
1313
member: ${{ steps.check.outputs.member }}
14-
# Only run this membership check if the comment is on a pull request.
1514
if: github.event_name == 'issue_comment' && github.event.issue.pull_request != null
1615
steps:
1716
- name: Check if commenter is in projectmesa
@@ -24,9 +23,9 @@ jobs:
2423
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
2524
https://api.github.com/orgs/projectmesa/members/$username)
2625
if [ "$response" -eq 204 ]; then
27-
echo "::set-output name=member::true"
26+
echo "member=true" >> $GITHUB_OUTPUT
2827
else
29-
echo "::set-output name=member::false"
28+
echo "member=false" >> $GITHUB_OUTPUT
3029
fi
3130
3231
run-ai-review:

0 commit comments

Comments
 (0)