renovate icon indicating copy to clipboard operation
renovate copied to clipboard

platformAutomerge should consider automergeSchedule

Open DnrKtz167 opened this issue 1 year ago • 9 comments

What would you like Renovate to be able to do?

Renovate should be able to consider the automergeSchedule in combination with the platformAutomerge. Currently platformAutomerge overrides the set automergeSchedule

Discussion

If you have any ideas on how this should be implemented, please tell us here.

check for automergeSchedule inside lib/workers/repository/update/pr/index.ts usePlatformAutomerge so it does not activate it at PR creation, if I understood your code correctly the rest should work.

Maybe a merge_when_checks_succeed: true is needed in the platform.mergePR method and should be sent to gitea if platformAutomerge is enabled

Is this a feature you are interested in implementing yourself?

Maybe

DnrKtz167 avatar Apr 12 '23 06:04 DnrKtz167