GitHub Connector Troubleshooting

How to Limit Access to Specific or Public GitHub Repositories

Concerned about giving Unito access to some of your repositories? Here's how to restrict that access.

What this article covers:

  • Using a bot user to limit access to specific repositories 

  • Limiting access to public repositories

We know it can be a bit scary to give an app access to your repositories. We won't hold a grudge if you'd rather start with only some of them.

We recommend using a Bot User for your GitHub Connector. That way, the Unito app will only access the repositories the bot user has access to.

Here's what you need to do if you only want to grant access to public repositories:

  • Make sure you haven't authorized Unito with GitHub yet. Otherwise, check out how to Re-Authorize with GitHub.

  • Back on the Unito App, create a GitHub Connector from the Your Connectors sidebar.

  • You'll be brought to GitHub where you will be asked to grant access to your repositories and organizations.

  • From the GitHub authorization page, edit the URL and change
    scope=user%3Aemail%2Crepo%2Cwrite%3Arepo_hook
    to
    scope=user%3Aemail%2Cpublic_repo%2Cwrite%3Arepo_hook

  • Type enter to load the new URL, and GitHub should now be asking for access to only your public repositories.

  • Authorize Application and you're done!