summaryrefslogtreecommitdiff
path: root/queries/github/gh_list_repos.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'queries/github/gh_list_repos.graphql')
-rw-r--r--queries/github/gh_list_repos.graphql16
1 files changed, 16 insertions, 0 deletions
diff --git a/queries/github/gh_list_repos.graphql b/queries/github/gh_list_repos.graphql
new file mode 100644
index 0000000..d7d36b3
--- /dev/null
+++ b/queries/github/gh_list_repos.graphql
@@ -0,0 +1,16 @@
+query GetUserRepos($username: String!, $after: String) {
+ repositoryOwner(login: $username) {
+ repositories(first: 100, after: $after, ownerAffiliations: OWNER) {
+ nodes {
+ name
+ url
+ isFork
+ isPrivate
+ }
+ pageInfo {
+ hasNextPage
+ endCursor
+ }
+ }
+ }
+} \ No newline at end of file