mytja
mytja

Reputation: 56

Heroku doesn't see an repository that I don't own, but I have write access

I want to connect to GitHub using Heroku, and I want to connect to repository, which I don't own, but I have write access to.

But only my repositories are shown, and I can pick only my name!

So the question is: Is it possible and how to connect to GitHub repository, which I don't own, but have write access to, to Heroku?

Upvotes: 3

Views: 1615

Answers (1)

Chris
Chris

Reputation: 137183

Assuming you want to enable automatic deployment, write access is not sufficient:

GitHub repo admin access is required for you to configure automatic GitHub deploys. This is because Heroku has to register a service hook on the GitHub repo, and this action requires admin access. For GitHub organisations, your GitHub account will also need to be a member of the organisation and not an outside collaborator.

So:

  1. Do you have admin-level access to the repository?

  2. Is this repository an organizational repository? If so, are you a member of the organization, or an outside collaborator?

Upvotes: 3

Related Questions