Hacker News new | ask | show | jobs
by kseistrup 622 days ago
The FAQ has the following instructions for more fine-grained access control:

> To accomplish this scenario select generic Git notebook provider (instead of GitHub) and for the password field put fine-grained personal access token which can be generated to have access only to certain repositories.

1 comments

I tried this and doesn't seem to work; though unclear what permissions I should be granting it, so possibly that is the issue.
You need only "Contents" Read and write permissions. Make sure when you generate fine-grained personal access tokens on the following page: https://github.com/settings/personal-access-tokens/new you select your desired repo (because it defaults to public repos and that will not work).