renovatebot/renovate

automergeSchedule not working if it's outside of normal schedule

オープン

#24,275 opened on 2023/09/06

 (5 件のコメント) (5 件のリアクション) (0 人の担当者)TypeScript (1,916 件のフォーク)batch import
core:automergehelp wantedpriority-4-low

Repository metrics

Stars
 (14,066 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド