0

I'm trying to build a module for my portfolio and I want to has a list with the last repository I've participate in.

I'm using Github GraphQL API.

I've come up with this request :

query 
      {
      viewer {
          login
          name
            topRepositories(first:10,orderBy:{field: PUSHED_AT, direction:ASC}){
            edges{

                node{
                    nameWithOwner
                url
                isPrivate
                
                    }
                }
            }
      }
  }

But I found that the "order by" did not do anything.

And I don't find how to get the last time you update this repo yourself. I don't want to have listed first the repos that as been update recently by someone else where I've participate in a long time ago.

Thanks for your help.

  • Plus, I'd like to be able to choose the type of contribution and exclude issues and comment. I've tried using the "reposContributedTo" argument by I fall on the same problem of ordering them by last time YOU participate in – Elouan Lérissel Oct 09 '22 at 10:09

0 Answers0