diff --git a/graphql/queries/org-list-outside-collaborators-by-repo.graphql b/graphql/queries/org-list-outside-collaborators-by-repo.graphql new file mode 100644 index 000000000..bcdc57c3f --- /dev/null +++ b/graphql/queries/org-list-outside-collaborators-by-repo.graphql @@ -0,0 +1,25 @@ +query( $cursor: String) { + organization(login: "another-boring-org") { + url + login + repositories(first: 100, after: $cursor) { + pageInfo { + endCursor + hasNextPage + } + nodes { + name + collaborators(affiliation: OUTSIDE, first: 100) { + + nodes { + url + login + } + edges { + permission + } + } + } + } + } + }