Skip to content

Can't rebase PR branch despite being maintainer #331

@Honeyxilia

Description

@Honeyxilia

Describe the bug

On the https://github.com/commown/commown-odoo-addons , I've been able to use the OCA bot commands as a maintainer - however, recently the bot has forbidden me from using the commands, stating that I wouldn't have push permissions on the repository
(for instance : commown/commown-odoo-addons#576 (comment) )

However, I've manually checked (with a classic token linked to my account), and I do have push permissions, which should allow me to push according to the github_user_can_push function ( link to code ):

In [5]: gh = github3.login(token=classic_token)

In [12]: for collab in gh.repository("commown", "commown-odoo-addons").collaborators():
    ...:     if collab.login == "Honeyxilia":
    ...:         lena = collab

In [14]: lena.permissions
Out[14]: {'admin': False, 'maintain': True, 'push': True, 'triage': True, 'pull': True}

In [15]: lena.permissions.get("push")
Out[15]: True

Expected behavior
I should be able to use the OCA bot commands on the commown/commown-odoo-addons repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions