Cannot push to branch even though "Allows commits from members who can merge to the target branch" is enabled
I'm trying to push a commit to @alatiera's branch in GNOME/epiphany!17 (closed). He has enabled "Allows commits from members who can merge to the target branch" and I have permission to merge to the target branch, so I should be able to do so. Steps:
$ git remote add alatiera git@gitlab.gnome.org:alatiera/epiphany.git
$ git fetch alatiera
$ git checkout alatiera/flatpak-ci
# Commit something
$ git checkout -b flatpak-ci
$ git push -u alatiera flatpak-ci
Expected result: push works
Actual result:
GitLab: You are not allowed to push code to this project.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.