Skip to content

Commit

Permalink
chore: use statnett renovate preset (#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelol authored Oct 5, 2023
1 parent f7ef887 commit ffce36b
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"github>statnett/renovate-presets",
":semanticCommitTypeAll(ci)",
"regexManagers:dockerfileVersions",
],
"labels": ["dependencies"],
"ignorePaths": [],
Expand All @@ -21,21 +20,4 @@
"semanticCommitType": "build",
},
],
"regexManagers": [
{
"fileMatch": [".*"],
"matchStrings": [
"renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>\\S+?)(?: (packageName)=(?<packageName>\\S+?))?(?: versioning=(?<versioning>\\S+?))?(?: registryUrl=(?<registryUrl>\\S+?))?\\s+(?:\\S+?_)?(?:VERSION|version|TAG|tag)\\s*[?]?[=:]\\s*\"?(?<currentValue>\\S+?)\"?\\s",
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
},
{
"fileMatch": [".+\\.ya?ml$"],
"matchStrings": [
"# renovate-image:( versioning=(?<versioning>.*?))?\\n\\s*(.+?_IMAGE|image)[=:]\\s*(?<depName>.+?):(?<currentValue>.+?)(\\s|$)",
],
"datasourceTemplate": "docker",
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}docker{{/if}}",
},
],
}

0 comments on commit ffce36b

Please sign in to comment.