Skip to content

Commit b8b14bb

Browse files
authored
Merge pull request #1585 from Doridian/fix/owner
Only check owned repositories when running in owner mode
2 parents b664f62 + 6372718 commit b8b14bb

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)