diff --git a/renovate.json5 b/renovate.json5 index 335c746f..86ff894e 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -44,6 +44,18 @@ "^@time-loop\\/clickup-projen" ], "allowedVersions": "!/^[0-9]+\\.[0-9]+\\.[0-9]+(\\.[0-9]+)?-(alpha|beta).*$/" + }, + { + "matchPackagePrefixes": [ + "@time-loop/" + ], + "matchUpdateTypes": [ + "major" + ], + "prBodyNotes": [ + "# MAJOR VERSION UPDATE", + "Read the release notes!" + ] } ], "ignoreDeps": [ diff --git a/src/renovate-workflow.ts b/src/renovate-workflow.ts index 6f2ace5e..3a3f5d91 100644 --- a/src/renovate-workflow.ts +++ b/src/renovate-workflow.ts @@ -140,6 +140,11 @@ export module renovateWorkflow { // Ex: 1.1.1 is allowed, 1.1.1-beta.0 is not allowed. allowedVersions: '!/^[0-9]+\\.[0-9]+\\.[0-9]+(\\.[0-9]+)?-(alpha|beta).*$/', }, + { + matchPackagePrefixes: ['@time-loop/'], + matchUpdateTypes: ['major'], + prBodyNotes: ['# MAJOR VERSION UPDATE', 'Read the release notes!'], + }, ], /* override defaults set in config:base preset */ diff --git a/test/__snapshots__/renovate-workflow.test.ts.snap b/test/__snapshots__/renovate-workflow.test.ts.snap index 9b163107..1de15a91 100644 --- a/test/__snapshots__/renovate-workflow.test.ts.snap +++ b/test/__snapshots__/renovate-workflow.test.ts.snap @@ -142,6 +142,18 @@ exports[`getRenovateOptions defaults 1`] = ` "^@time-loop\\/clickup-projen", ], }, + { + "matchPackagePrefixes": [ + "@time-loop/", + ], + "matchUpdateTypes": [ + "major", + ], + "prBodyNotes": [ + "# MAJOR VERSION UPDATE", + "Read the release notes!", + ], + }, ], "platformAutomerge": true, "prConcurrentLimit": 0,