Skip to content

Commit 71ecd5f

Browse files
committed
🎨 Stopped Renovate from recreating immortal PRs
Renovate kept recreating grouped PRs such as babel, storybook, CSS preprocessors and tailwind even after they were manually closed and their branches were deleted. The logs showed Ghost's recreateClosed=false was being normalized to recreateWhen=auto, which still allows Renovate to recreate immortal grouped PRs. Switching to recreateWhen=never matches Renovate's documented way to keep immortal PRs closed while still allowing intentional reopening from the Dependency Dashboard when we want to work through them.
1 parent a1048d6 commit 71ecd5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/renovate.json5

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
// The shared preset disables rate limiting, but Ghost's monorepo is
88
// large enough that unlimited branches cause timeouts during rebasing.
99
"branchConcurrentLimit": 10,
10-
// Don't recreate PRs that have been manually closed. Updates can still
11-
// be triggered on-demand via the Dependency Dashboard checkboxes.
12-
"recreateClosed": false,
10+
// Keep manually-closed immortal/grouped PRs closed unless explicitly
11+
// reopened from the Dependency Dashboard.
12+
"recreateWhen": "never",
1313
// We have to disable platform based automerge (forcing renovate to do it manually)
1414
// as otherwise renovate wont follow our schedule
1515
"platformAutomerge": false,

0 commit comments

Comments
 (0)