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:
23
23
gh api graphql \
24
24
--raw-field organization="$ORGANIZATION" \
25
25
--raw-field query='
26
- query($organization: String!, $cursor: String ) {
26
+ query($organization: String!) {
27
27
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
+ }
35
33
}
36
34
}
37
35
}
38
36
}' > org_members.json
39
37
echo "CONTRIBUTOR_IS_ORG_MEMBER=$(
40
38
jq \
41
39
--arg contributor $CONTRIBUTOR \
42
- '.data.organization.membersWithRole | any(.nodes[].login; . == $contributor)' \
40
+ '.data.organization.team.members | any(.nodes[].login; . == $contributor)' \
43
41
org_members.json
44
42
)" >> $GITHUB_OUTPUT
45
43
You can’t perform that action at this time.
0 commit comments