Skip to content

Commit

Permalink
chore: add renovate for zarf
Browse files Browse the repository at this point in the history
  • Loading branch information
corang committed Feb 5, 2024
1 parent dced1d5 commit 48b9e14
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ repos:
args:
[
"--schemafile",
# renovate: repo-file depName=defenseunicorns/zarf versioning=semver
"https://raw.githubusercontent.com/defenseunicorns/zarf/v0.32.2/zarf.schema.json",
"--no-cache"
]
Expand Down
8 changes: 8 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@
"depNameTemplate": "jenkinsci/pipeline-model-definition-plugin",
"datasourceTemplate": "github-tags"
},
{
"fileMatch": [".*\\.ya?ml$"],
"matchStrings": [
"# renovate: repo-file depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\n.*\\/(?<currentValue>v.*?)\\/"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver-coerced{{/if}}",
"datasourceTemplate": "github-tags"
},
{
"fileMatch": ["values\\/.*\\.ya?ml$"],
"matchStrings": [
Expand Down

0 comments on commit 48b9e14

Please sign in to comment.