Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
chore(renovate): fix baseBranches syntax
Browse files Browse the repository at this point in the history
We use $default instead of 'master' and fix regexp
  • Loading branch information
o-orand committed Dec 21, 2023
1 parent 0581a7d commit 0ae8889
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
],
baseBranches: [
// don't run on renovate branches
"master",
"$default",
"/^release-.*/", //regexp test syntax
"upstream-release-1.*"
"/^upstream-release-1\..*/"
// See https://docs.renovatebot.com/configuration-options/#basebranches
// baseBranches supports Regular Expressions that must begin and end with /
], //See also possible support for multiple base branches, one per K8S minor version https://docs.renovatebot.com/configuration-options/#basebranches
Expand Down Expand Up @@ -57,6 +57,16 @@
separateMinorPatch: true,
// separateMultipleMinor: true, // Pending merge of https://github.com/renovatebot/renovate/pull/24538 to be effective
},
{
matchDepPatterns: ["*"],
addLabels: [
// See full list of fields available at https://docs.renovatebot.com/templates/#other-available-fields
"datasource/{{datasource}}",
"depName/{{depNameSanitized}}",
"manager/{{manager}}",
"hasReleaseNotes/{{hasReleaseNotes}}",
]
},
],
regexManagers: [
{
Expand Down

0 comments on commit 0ae8889

Please sign in to comment.