7

I want to see all contributions I made to others on GitHub, but I do a ton of work in my own repositories so my contributions tab has my commits to my repo's overshadowing my contributions to others.

Would it be possible to basically see all my contributions exclude things like me starring other projects and contributions to my own repositories?

migrated from superuser.com Mar 8 '15 at 9:19

This question came from our site for computer enthusiasts and power users.

3

At the moment, there is no way to do this on github.com. The closest feature may be searching for pull requests and issues:

If you go in the Pull request tab and search for author:yourusername -user:yourusername, you will have a list of contributions (only pull requests and issues opened) made to repositories you do not own.

  • In addition, if you only want include contributions on public repositories, you can add is:public to the search query. – Koen. Aug 13 at 22:51
2

You can use the following GraphQL query in the API Explorer:

query($login: String!){
  user(login:$login) {
    repositoriesContributedTo(contributionTypes: [COMMIT, REPOSITORY], last: 100, includeUserRepositories: false) {
      pageInfo {
        startCursor
        hasPreviousPage
      }
      nodes {
        owner {
          login
        }
        name
      }
    }
  }
}

The list of valid contributionTypes:

COMMIT Created a commit

ISSUE Created an issue

PULL_REQUEST Created a pull request

REPOSITORY Created the repository

PULL_REQUEST_REVIEW Reviewed a pull request

Enter your login in query variables and then execute.

{
  "login": "zypA13510"
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.