Finds out how many PRs have been merged across an org for a given user - use this to reward your community members, like Gatsby!
query FindUserContributionToOrgCount( # You'll need to format this string when fetching this query # at runtime. # For example, your JavaScript might look like: # const query = `org:${repoOwner} author:${username} type:pr is:merged`; $query: String = "org:onegraph author:sgrove type:pr is:merged" ) { gitHub { search(first: 1, query: $query, type: ISSUE) { contributionCount: issueCount } } }
No description
The String
scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
The query root of GitHub's GraphQL interface.
A list of results that matched against a search query.
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
No description