Gitlab project bot commit author as an authenticated user

1.4k Views Asked by At

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:

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?

1

There are 1 best solutions below

0
On

The correct email seems to be [email protected]. I need to look into where the example.com comes from.

Edit: "example.com" is hard-coded, see https://gitlab.com/gitlab-org/gitlab/-/issues/292668