Automerge not happening during automergeSchedule
if updateNotScheduled: false
#33770
Labels
core:automerge
Relating to Renovate's automerge capabilities
priority-4-low
Low priority, unlikely to be done unless it becomes important to more people
type:bug
Bug fix of existing functionality
Discussed in #33654
Originally posted by felipecrs January 16, 2025
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.
Gerrit
Please tell us more about your question or problem
As the title says, automerge is not happening during
automergeSchedule
ifupdateNotScheduled: false
and not withinschedule
.In such situation, Renovate will enter in this code path:
renovate/lib/workers/repository/update/branch/index.ts
Line 330 in 1f4790c
And thus will
return
before givingcheckAutoMerge
a chance.I am currently working around this issue by calling
checkAutoMerge
within that code path:Which is copied from:
renovate/lib/workers/repository/update/branch/index.ts
Lines 910 to 926 in 1f4790c
But it's probably not the best solution.
I believe this is a bug, i.e. I believe automerges should not be stopped by
updateNotSchedule: false
.What do you think?
Logs (if relevant)
Not relevant, I think.
The text was updated successfully, but these errors were encountered: