-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
renovate-approve
not working with forking-renovate
#55
Comments
Hi Raghu! Nice to chat with you again. The Renovate Approve app/bot is currently configured to only approve automerging PRs from the main So therefore the behavior you're seeing is expected, but we can possibly change it. For the bot to automerge, you'd need to add it as an allowed committer against your |
Nice to chat with you too, Rhys! And thanks for the quick and detailed reply. Yes, we certainly can give the bot account write permissions to the It's very kind of you to suggest the possibility of enhancing the bot's existing functionality to support this. Let us know if there's anything we can do at our end to help with this. Thank you! |
I'll look into this and then update you here about progress. The changes may involve both this repo as well as the main Renovate one. FYI in case it wasn't clear, it would be @renovate-bot which would need write access and not the Forking Renovate bot. We use @renovate-bot to create the commits and PRs so that Google's CLA bot is happy and doesn't complain about multiple users :) |
Perfect. Thanks once again! |
I see that the auto-approvals from Now, I'm working to make sure our CI checks are satisfied by those approvals and go all-green. (We use a custom code-ownership solution that applies a blocking CI check until it is satisfied that the approver(s) of a PR are also the rightful owners of the files that were changed.) Once this is done, the coast will be clear to see if |
Two updates:
|
It looks like this step didn't have the desired effect of recognizing @renovate-bot as a valid reviewer. (I'm guessing this is because the account cannot accept an invitation to join a github team.) I'll attempt to find a workaround for this in our code-ownership system, and post an update here when we've figured it out. Meanwhile, thanks for the continued support! |
Actually that is a "real" user account (not an app) so I can log in as it and check for any invitations. |
👍 I'm fairly certain automerge will work if you do this. (I will still attempt to find a workaround via our code-ownership system because in future, we would like a way to not have to rely on this invitation mechanism for other bot reviewers.) |
When logged in as @renovate-bot, I cannot find any invitation including at https://github.com/ampproject/amphtml/invitations I will close this issue now though because we got the approve part working. To continue the discussion, can you raise a Discussion here? https://github.com/renovatebot/renovate/discussions |
Actually.. I just found it under the ampproject org instead, so it's now all set. |
Thanks for following up, @rarkins! The good news is that PRs with automerge enabled are now passing all checks. For example, ampproject/amphtml#34203. I'll keep an eye on it for a while and post on the discussions group if it doesn't get automerged. |
Hah! No, I realized that we hadn't yet enabled auto-merge for the |
I haven't done a code inspection yet to check if it will attempt to automerge or not, but let's get a candidate PR ready and if it doesn't then we can check the logs and get an idea if it gives up too soon because it was written to assume that forked PRs can't be automerged. |
Here's a candidate PR: ampproject/amphtml#34219
|
Checking in to say that after a week in action, automatic approvals have been working very nicely for us. Thanks once again for enhancing |
Background:
The AMP Project has been using
forking-renovate
for a couple years now, and I'm in the midst of trying to up our game by enabling auto-review and auto-merge for upgrade PRs that pass other CI checks. However, I haven't been able to get things to work after multiple tries, and figured I'd check in here for help. Please feel free to move this issue if this is the wrong repo.Details:
automerge
andassignAutomerge
astrue
for the config groups that we want auto-mergedProblems:
renovate-approve
has not been added as a reviewer / approver for any PR thus farQuestions:
forking-renovate
?Thanks in advance for the help!
The text was updated successfully, but these errors were encountered: