Skip to Content

Contributors

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

I'm afraid it's not anything about checking that field or not, but GitHub avoids the push to organization branches. We don't know the reason, but there's nothing in our hands that we can do about that.

But the good news is that the `/ocabot merge ...` command performs a rebase on the merge branch.

Regards.

by Pedro M. Baeza - 08:20 - 23 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