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 fails merging during the update of the onboarding PR #22352
Comments
Shegox
added
needs-discussion
Issue requires a GitHub Discussion first
priority-5-triage
status:requirements
Full requirements are not yet known, so implementation should not be started
type:bug
Bug fix of existing functionality
labels
May 22, 2023
github-actions
bot
removed
type:bug
Bug fix of existing functionality
status:requirements
Full requirements are not yet known, so implementation should not be started
priority-5-triage
labels
May 22, 2023
I didn't manage to reproduce this, but that's probably because I have a git author set globally locally. I think a single |
rarkins
added a commit
that referenced
this issue
May 22, 2023
6 tasks
🎉 This issue has been resolved in version 35.98.3 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
How are you running Renovate?
Mend Renovate hosted app on github.com
If you're self-hosting Renovate, tell us what version of Renovate you run.
35.98.0
If you're self-hosting Renovate, select which platform you are using.
None
Was this something which used to work for you, and then stopped?
It used to work, and then stopped
Describe the bug
Renovate fails to merge the changes of the base branch into the working branch before extracting the updates for the onboarding PR because of a missing Git Author. Causing Renovate to abort the complete run with an error.
To reproduce it do following:
Reproduction repository: https://github.com/Shegox/renovate-onboarding-merge
I could reproduce the same with a local setup using the Renovate Dockerimage in Version 35.98.0.
It seems this is happening because Renovate tries to merge the base branch into it's "working branch" and does so without having a Git Author configured (
await writeGitAuthor()
is missing). Causing Git to fail during the merge.Specifically this code, which invokes the merge, causes the problem:
renovate/lib/workers/repository/onboarding/branch/index.ts
Lines 98 to 104 in ffeb784
Seems to be introduced through #20893 in 35.94.0.
A potential fix is to first call
await writeGitAuthor()
before trying the merge.Relevant debug logs
Logs
From: https://app.renovatebot.com/dashboard#github/Shegox/renovate-onboarding-merge/1078809586
Have you created a minimal reproduction repository?
I have linked to a minimal reproduction in the description above
The text was updated successfully, but these errors were encountered: