Closed eddarmitage closed 4 years ago
This would be a fantastic feature. This way I could give renovatebot access just to the lock files (which I allow auto-merge for) without giving it permission to make other changes to the repo without approval.
I've seen the Approval Bot for GitHub, but my understanding is that that exists because GitHub does not allow the PR author to approve the PR (hence needing a second bot) - this isn't a rule on GitLab.
Your understanding is correct re: GitHub
Does the GitLab Renovate bot have the ability to approve MRs
Please follow this feature request: https://github.com/renovatebot/renovate/issues/6577
I've been trying to get automerge configured for one of my GitLab repositories using the hosted GitLab bot, but I believe the current stumbling block is that Renovate won't approve the MR, which is a requirement for the repo (Sample MR).
The MR is marked as "🚦 Automerge: Enabled". The
@renovate-bot
user is configured as a CODEOWNER for the relevant files, and is correctly shown as a possible approver. I've seen that by me manually approving an MR, Renovate will merge it (Example MR).I've seen the Approval Bot for GitHub, but my understanding is that that exists because GitHub does not allow the PR author to approve the PR (hence needing a second bot) - this isn't a rule on GitLab.
Does the GitLab Renovate bot have the ability to approve MRs, or else is there an equivalent of the GitHub approval bot that I'm not aware of/haven't understood how to set up? Ideally, I'd like for MRs to only be marked as approved when they have automerge enabled (in my case to prevent MAJOR updates being approved)