File tree Expand file tree Collapse file tree 3 files changed +36
-0
lines changed
Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 1010permissions : {}
1111
1212jobs :
13+ check_access :
14+ runs-on : ubuntu-latest
15+ outputs :
16+ is_member_or_collaborator : ${{ steps.check_access.outputs.result }}
17+ steps :
18+ - name : Check access
19+ id : check_access
20+ if : ${{ github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR' }}
21+ run : echo "is_member_or_collaborator=true" >> "$GITHUB_OUTPUT"
22+
1323 check_maintainer :
24+ if : ${{ needs.check_access.outputs.is_member_or_collaborator == 'true' }}
25+ needs : [check_access]
1426 uses : facebook/react/.github/workflows/shared_check_maintainer.yml@main
1527 permissions :
1628 # Used by check_maintainer
Original file line number Diff line number Diff line change 1010permissions : {}
1111
1212jobs :
13+ check_access :
14+ runs-on : ubuntu-latest
15+ outputs :
16+ is_member_or_collaborator : ${{ steps.check_access.outputs.result }}
17+ steps :
18+ - name : Check access
19+ id : check_access
20+ if : ${{ github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR' }}
21+ run : echo "is_member_or_collaborator=true" >> "$GITHUB_OUTPUT"
22+
1323 check_maintainer :
24+ if : ${{ needs.check_access.outputs.is_member_or_collaborator == 'true' }}
25+ needs : [check_access]
1426 uses : facebook/react/.github/workflows/shared_check_maintainer.yml@main
1527 permissions :
1628 # Used by check_maintainer
Original file line number Diff line number Diff line change 1111 SEGMENT_DOWNLOAD_TIMEOUT_MINS : 1
1212
1313jobs :
14+ check_access :
15+ runs-on : ubuntu-latest
16+ outputs :
17+ is_member_or_collaborator : ${{ steps.check_access.outputs.result }}
18+ steps :
19+ - name : Check access
20+ id : check_access
21+ if : ${{ github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR' }}
22+ run : echo "is_member_or_collaborator=true" >> "$GITHUB_OUTPUT"
23+
1424 check_maintainer :
25+ if : ${{ needs.check_access.outputs.is_member_or_collaborator == 'true' }}
26+ needs : [check_access]
1527 uses : facebook/react/.github/workflows/shared_check_maintainer.yml@main
1628 permissions :
1729 # Used by check_maintainer
You can’t perform that action at this time.
0 commit comments