File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -23,23 +23,21 @@ jobs:
2323 gh api graphql \
2424 --raw-field organization="$ORGANIZATION" \
2525 --raw-field query='
26- query($organization: String!, $cursor: String ) {
26+ query($organization: String!) {
2727 organization(login: $organization) {
28- membersWithRole(first: 100, after: $cursor) {
29- pageInfo {
30- hasNextPage,
31- endCursor
32- }
33- nodes {
34- login
28+ team(slug: "Solidity") {
29+ members(first: 100) {
30+ nodes {
31+ login
32+ }
3533 }
3634 }
3735 }
3836 }' > org_members.json
3937 echo "CONTRIBUTOR_IS_ORG_MEMBER=$(
4038 jq \
4139 --arg contributor $CONTRIBUTOR \
42- '.data.organization.membersWithRole | any(.nodes[].login; . == $contributor)' \
40+ '.data.organization.team.members | any(.nodes[].login; . == $contributor)' \
4341 org_members.json
4442 )" >> $GITHUB_OUTPUT
4543
You can’t perform that action at this time.
0 commit comments