Skip to content

Can't push to public repository even though GitHub access is granted #1210

@jankeromnes

Description

@jankeromnes

Describe the bug

I have previously granted write public repos to Gitpod in https://gitpod.io/access-control/:

Screenshot 2020-02-11 at 18 57 40

But when I try to push to the public repository https://github.com/gitpod-io/website, I get this error:

gitpod /workspace/website $ git push origin jx/ruby-add-rails-sample-app 
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/gitpod-io/website.git/'

Screenshot 2020-02-11 at 18 52 26

When I click the GitHub audit link, Gitpod even seems to have "Full control of private repositories" (!) (I've granted it previously, but then revoked it, so this is surprising to me):

Screenshot 2020-02-11 at 18 58 26

Note: Granting read/write private repos in Access Control does allow me to push to my public repository.

Steps to reproduce

  1. Revoke read/write private repos in Access Control
  2. Open a public repo (from an org maybe?)
  3. Create a new branch
  4. Try to git push origin new-branch

Expected behavior

Push should succeed.

Additional Information

Example Repository

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions