Skip to content

Commit

Permalink
feat(renovate): major version warning [CLK-516942] (#281)
Browse files Browse the repository at this point in the history
* feat(renovate): major version warning [CLK-516942]

* chore: self mutation

Signed-off-by: github-actions <[email protected]>

---------

Signed-off-by: github-actions <[email protected]>
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
ahammond and github-actions authored Jun 25, 2024
1 parent 0f57e12 commit 22bf0ba
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
12 changes: 12 additions & 0 deletions renovate.json5

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

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 22bf0ba

Please sign in to comment.