File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1- name : Presubmit.ai PR Review
1+ name : AI Review
22
33on :
44 pull_request_target :
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
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 :
You can’t perform that action at this time.
0 commit comments