Super-productivity: How to access private GitHub repositories?

Created on 30 Oct 2020  路  5Comments  路  Source: johannesjo/super-productivity

Sorry if this is a duplicate, but I didn't find any similar issue.

It would be nice to have support for Github private repositories as right now only public repositories seem to be accessible from the app. (Unless I missed something, in which case I'd be very happy to hear the solution!)

Anyway, great app!

question

All 5 comments

Did you specify an API key? I would imagine that you should have access to private repositories as well if you do so.

I did provide a Github access token, and it did seem to work properly for public repositories, but not for private repositories.
Unless I put in the wrong permissions for that token?
Here's the list of permissions on that token :
public_repo, read:org, read:packages, read:public_key, read:repo_hook, read:user, repo:invite, repo:status, repo_deployment, user:email, write:discussion

Apparently you need to give full repo access for private repositories:
https://docs.github.com/en/free-pro-team@latest/developers/apps/scopes-for-oauth-apps

I don't know why they don't offer something like a private_repo scope.

This works! thanks a lot! :D

Glad that it does! I am closing this then.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Kl4tch picture Kl4tch  路  3Comments

mbostanara picture mbostanara  路  3Comments

Mindstormer619 picture Mindstormer619  路  4Comments

GabrielRodriguesS picture GabrielRodriguesS  路  4Comments

D06E picture D06E  路  3Comments