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,