From ca1b1c815891c4d06af58ad476d43a273e341ee2 Mon Sep 17 00:00:00 2001 From: Igor Rzegocki Date: Wed, 15 Jan 2025 10:41:28 +0100 Subject: [PATCH] chore: add custom versions to renovate --- .github/renovate.json5 | 1 + .github/renovate/customVersions.json5 | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 .github/renovate/customVersions.json5 diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 560b7017..98ac0472 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -11,6 +11,7 @@ ":timezone(Europe/Warsaw)", "github>deedee-ops/nixlab//.github/renovate/autoMerge.json5", "github>deedee-ops/nixlab//.github/renovate/commitMessage.json5", + "github>deedee-ops/nixlab//.github/renovate/customVersions.json5", "github>deedee-ops/nixlab//.github/renovate/groups.json5", "github>deedee-ops/nixlab//.github/renovate/labels.json5", "github>deedee-ops/nixlab//.github/renovate/semanticCommits.json5", diff --git a/.github/renovate/customVersions.json5 b/.github/renovate/customVersions.json5 new file mode 100644 index 00000000..c36c3563 --- /dev/null +++ b/.github/renovate/customVersions.json5 @@ -0,0 +1,17 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "packageRules": [ + { + "matchPackagePatterns": ["ghcr\\.io/jmberesford/retrom-service"], + "extractVersion": "^retrom-v(?.*)$" + }, + { + "matchPackagePatterns": ["ghcr\\.io/deedee-ops/sshwifty"], + "extractVersion": "^(?.*)-beta-release$" + }, + { + "matchPackagePatterns": ["codeberg\\.org/forgejo/forgejo"], + "extractVersion": "^(?.*)-rootless$" + } + ] +}