Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Can't push to organization repo #2770

Open

Description

@ms609

Description

When I try to push to a public organizational repo, I see a 403 permission denied error:

image

I can push to personal repositories (on my ms609 account) from within Atom, and can push to the organizational repo using GitHub Desktop.

Reproduces how often:

Reproduces all the time on this machine – though I think I recall it working as expected on a different machine (same OS / Atom version)

Versions

Windows 10.

Atom    : 1.60.0
Electron: 9.4.4
Chrome  : 83.0.4103.122
Node    : 12.14.1
apm  2.6.2
npm  6.14.13
node 12.14.1 x64
atom 1.60.0
python 3.9.7
git
visual studio

Additional Information

Activity

  1. DeeDeeG commented on Jun 13, 2022

    @DeeDeeG
    Contributor

    Maybe the token that gets generated for the GitHub package lacks write permission to orgs?

    You can try replacing the token with a manually-generated Personal Access Token (https://github.com/settings/tokens) as discussed here: #2686 And make sure the token has org:write permission, in addition to whatever other permissions you may need.

    That might work? (If not, maybe the GitHub user account you authenticated with lacks write permission to that org/repo? Or some miscellaneous other issue...)

  2. ms609 commented on Jun 13, 2022

    @ms609
    Author

    Thanks for the suggestion; I've regenerated a token with the write:org, but still encounter the issue. I've also confirmed that the user account has write permission to the org/repo.

    I've also updated the Windows Credentials per the suggestion at #2686 (comment) .

  3. eror123r commented on Jun 25, 2022

    @eror123r

    Talvez o token gerado para o pacote do GitHub não tenha permissão de gravação para organizações?

    Você pode tentar substituir o token por um Token de Acesso Pessoal gerado manualmente ( https://github.com/settings/tokens ) conforme discutido aqui: #2686 E certifique-se de que o token tenha org:writepermissão, além de quaisquer outras permissões que você possa precisar .

    Isso pode funcionar? (Se não, talvez a conta de usuário do GitHub com a qual você autenticou não tenha permissão de gravação para esse org/repo? Ou algum outro problema...)

    Como, saber Fazer resposta, Cotacao ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions