Wait X days before automerge PR #22166
Replies: 6 comments
-
Yes try adding stabilityDays to your config and that should achieve what you are asking. |
Beta Was this translation helpful? Give feedback.
-
I tried that earlier but did not work. PR was merged immediately. Below is the config I am using
Also tried this
|
Beta Was this translation helpful? Give feedback.
-
I think this would require a feature addition to the main repo. To clarify, is this how you want it?
And the above will be independent of when the dependency itself was released, i.e. you just want the PR to have the delay regardless of whether the new version is recent or not? |
Beta Was this translation helpful? Give feedback.
-
Yes, that's right. This would give us a heads up and let us take appropriate actions before the PR is automerged. |
Beta Was this translation helpful? Give feedback.
-
How would you propose to "stop" the automerge if you decide you don't want it automerged? |
Beta Was this translation helpful? Give feedback.
-
That's a great question. I believe today there is no config setting which would let us do this. One option I can think of is adding configurable "Block-Automerge" label. Merge only if X days have passed since PR create date and "Block-Automerge" label is set to false. |
Beta Was this translation helpful? Give feedback.
-
Which Renovate are you using? CLI, App, or Pro
App
Which platform are you using? GitHub, GitLab, Bitbucket Azure DevOps
GitHub
What is your question?
We have a requirement to wait for X days before automerging any PR created through renovate bot. Is there a way to do this through config settings.
Beta Was this translation helpful? Give feedback.
All reactions