Multiple Renovate users #33946
Unanswered
mfoo
asked this question in
Request Help
Replies: 1 comment
-
Pretty sure it won't work: second user/token will see a branch/MR already exists from 1st user/token and will refuse to act on it. At least that's the default behaviour. I've observed that when changing tokens instead of renewing them properly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitLab
Please tell us more about your question or problem
Hi all,
My organisation enforces in GitLab that a user may not approve and merge their own changes, which prevents Renovate from auto-merging its own MRs. We can add an exception in our policies to allow Renovate to auto-merge but we've hit a technical problem. This enforcement setting is per repository and you can't override it per user meaning we can't turn the setting off for our Renovate user without turning it off for all users in the repository.
I am considering the option of running two instances of Renovate, each with a different API token. We would kick them off in an alternating fashion, never overlapping, such that it doesn't really matter which one raises the MR and which one approves+merges it.
Is there any reason why this might not work? E.g. detecting commits from the current user? Are there better options?
Thanks!
Logs (if relevant)
No response
Beta Was this translation helpful? Give feedback.
All reactions