Skip to content

Commit

Permalink
ci: fix renovate string match
Browse files Browse the repository at this point in the history
  • Loading branch information
jippi committed Aug 17, 2024
1 parent 13a5a1b commit 6f5ab4e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
labels: ["security"],
},
packageRules: [
{
matchPackageNames: ["go", "golang"],
versioning: "go",
groupName: "go",
},
{
matchDepTypes: ["golang-version"],
prPriority: 999,
Expand Down Expand Up @@ -53,7 +58,7 @@
customType: "regex",
fileMatch: ["^\\.github/workflows/[^/]+\\.ya?ml$"],
matchStrings: [
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.*?_VERSION: (?<currentValue>.*)\\s",
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.*?: (?<currentValue>.*)\\s",
],
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
extractVersionTemplate: "^v(?<version>\\d+\\.\\d+\\.\\d+)",
Expand Down

0 comments on commit 6f5ab4e

Please sign in to comment.