Skip to content

List of repositories of the selected user (username string) has contributed (pull req, commit, etc) #24440

Discussion options

You must be logged in to vote

Hi!

Would this be what you’re looking for? This query returns the contributions from a user grouped per repository. You might still have to do some postprocessing on the data. If this is not what you’re looking for contributionsCollection might still contain some other fields that can be of interest to you.

{
  user(login: "TimonVS") {
    login
    contributionsCollection {
      commitContributionsByRepository {
        contributions(last: 10) {
          nodes {
            occurredAt
            commitCount
            repository {
              nameWithOwner
            }
          }
        }
      }
    }
  }
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants