Skip to Content

Contributors

Re: write access to repositories for oca-git-bot

Hi Hugues,

Last time I checked it was not possible for organizations to allow maintainers to push to their PRs. It was only possible for individual contributors.

So this effectively limits the usefulness of the /ocabot rebase command.

Best regards,

-sbi


On Wed, Feb 22, 2023 at 11:57 AM hugues de keyzer <notifications@odoo-community.org> wrote:

hello,

maybe this is documented somewhere but i could not find the information.

for the /ocabot rebase command to work, oca-git-bot needs write access to the repository that contains the branch. without it, it fails like this:

The rebase process failed, because command git push --force coopiteasy tmp-pr-40:12.0-cooperator_website_add_validation_hook failed with output:

remote: Permission to coopiteasy/cooperative.git denied to OCA-git-bot.
fatal: unable to access 'https://github.com/coopiteasy/cooperative/': The requested URL returned error: 403

how is this supposed to be handled? should oca-git-bot be part of our github organization? i invited it, thinking that maybe it auto-accepts invites, but nothing changed.

what should i do?

cheers,

hugues
coop it easy

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe


by Stéphane Bidoul - 12:06 - 22 Feb 2023

Reference

  • write access to repositories for oca-git-bot

    hello,

    maybe this is documented somewhere but i could not find the information.

    for the /ocabot rebase command to work, oca-git-bot needs write access to the repository that contains the branch. without it, it fails like this:

    The rebase process failed, because command git push --force coopiteasy tmp-pr-40:12.0-cooperator_website_add_validation_hook failed with output:

    remote: Permission to coopiteasy/cooperative.git denied to OCA-git-bot.
    fatal: unable to access 'https://github.com/coopiteasy/cooperative/': The requested URL returned error: 403
    

    how is this supposed to be handled? should oca-git-bot be part of our github organization? i invited it, thinking that maybe it auto-accepts invites, but nothing changed.

    what should i do?

    cheers,

    hugues
    coop it easy


    by hugues - 11:51 - 22 Feb 2023