Skip to content

Commit 6372718

Browse files
committed
Actually make sure to only list owned repos
1 parent b664f62 commit 6372718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enumeration/remote/github/repository.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ type listRepoForOwnerQuery struct {
116116
EndCursor githubv4.String
117117
HasNextPage bool
118118
}
119-
} `graphql:"repositories(first: 100, after: $cursor)"`
119+
} `graphql:"repositories(first: 100, after: $cursor, ownerAffiliations: OWNER)"`
120120
}
121121
}
122122

0 commit comments

Comments
 (0)