Skip to content

Commit

Permalink
feat(renovate): major version warning [CLK-516942]
Browse files Browse the repository at this point in the history
  • Loading branch information
ahammond committed Jun 25, 2024
1 parent 0f57e12 commit fdfcde7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/renovate-workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
12 changes: 12 additions & 0 deletions test/__snapshots__/renovate-workflow.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fdfcde7

Please sign in to comment.