renovatebot/renovate

automergeSchedule not working if it's outside of normal schedule

Open

#24,275 建立於 2023年9月6日

在 GitHub 查看
 (5 留言) (5 反應) (0 負責人)TypeScript (14,066 star) (1,916 fork)batch import
core:automergehelp wantedpriority-4-low

描述

Discussed in https://github.com/renovatebot/renovate/discussions/24005

Originally posted by fallemand August 21, 2023

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.

No response

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 problem

I have the following config:

"packageRules": [
    {
      "matchUpdateTypes": [
        "minor",
        "patch"
      ],
      "automerge": true
    }
  ],
  "schedule": [
    "after 9am every weekend"
  ],
  "automergeSchedule": [
    "after 9am and before 5pm every weekday"
  ],

I want PRs to be created during the weekend (where CI consumption is low), and then be automerged in working hours (in case a problem appears). But the automerge is not happening because it's outside of the schedule.

Relevant debug logs

renovate.log

貢獻者指南