From 48b9e1478864853dc56d283ffd5d4a87bee4d448 Mon Sep 17 00:00:00 2001 From: Jordan McClintock Date: Mon, 5 Feb 2024 16:59:48 +0000 Subject: [PATCH] chore: add renovate for zarf --- .pre-commit-config.yaml | 1 + renovate.json | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 30c2afa..cb20f2f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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" ] diff --git a/renovate.json b/renovate.json index 28b1e11..26f0cc0 100644 --- a/renovate.json +++ b/renovate.json @@ -66,6 +66,14 @@ "depNameTemplate": "jenkinsci/pipeline-model-definition-plugin", "datasourceTemplate": "github-tags" }, + { + "fileMatch": [".*\\.ya?ml$"], + "matchStrings": [ + "# renovate: repo-file depName=(?.*?)( versioning=(?.*?))?\\n.*\\/(?v.*?)\\/" + ], + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver-coerced{{/if}}", + "datasourceTemplate": "github-tags" + }, { "fileMatch": ["values\\/.*\\.ya?ml$"], "matchStrings": [