I'm trying to set up a self-hosted Gitlab project with renovate to automatically create merge requests for dependency updates.
I created a Gitlab project token/bot with the name "renovate" which resolves to "project_123_bot". The rub is that my project uses push rules to "Check whether the commit author is a GitLab user". I do not know what I should use as the git commit author for renovate-generated commits. I've tried:
Renovate Bot <[email protected]>
Renovate Bot <project_123_bot>
Renovate Bot <[email protected]>
among others, and I always get this rejection when pushing:
remote: GitLab: Author '[email protected]' is not a member of team
What is the appropriate git commit author to use for project bots? Is it not possible for project bots to commit changes as a verified authenticated user?
The correct email seems to be
[email protected]
. I need to look into where theexample.com
comes from.Edit: "example.com" is hard-coded, see https://gitlab.com/gitlab-org/gitlab/-/issues/292668