From 857c3f57dde5f1a7786a0de2a05be97fb07a329c Mon Sep 17 00:00:00 2001 From: Langleu Date: Mon, 13 May 2024 14:38:21 +0200 Subject: [PATCH] chore(renovate): switch to globally maintained config --- .github/renovate.json5 | 21 +-------------------- .tool-versions | 12 +++++++++++- 2 files changed, 12 insertions(+), 21 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index aa4ca1c..a2abfc8 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,23 +1,4 @@ { $schema: "https://docs.renovatebot.com/renovate-schema.json", - extends: [ - "config:recommended", - ":automergeDisabled", - ":semanticCommits", - ":dependencyDashboard", - ":enablePreCommit", - ], - schedule: ["every weekend"], - platformAutomerge: false, - prHourlyLimit: 6, - prConcurrentLimit: 20, - customManagers: [ - { - "customType": "regex", - "fileMatch": ["\.sh",], - "matchStrings": [ - "datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?( extractVersion=(?.*?))?\\s(?.*?)=\"(?.*?)\"" - ], - }, - ] + extends: ["github>camunda/infex-common-config:default.json5"], } diff --git a/.tool-versions b/.tool-versions index 0626a69..cd4c0ac 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,6 +1,16 @@ +################################################################################ +# # +# Note: when adding a new tool here, also adjust the Renovate configuration # +# that mirrors some asdf plugin's logic to remove version prefixes like # +# "v". # +# # +# You have to amend the Renovate config when the asdf plugin takes 1.2.3 # +# as the version but the Docker tag/Github tag is actually v1.2.3 # +# # +################################################################################ + # /!\ Please maintain this file sorted alphabetically. # check it with # diff <(sed '/^#/d; /^$/d' .tool-versions | sort) <(sed '/^#/d; /^$/d' .tool-versions) && echo ".tool-versions is sorted correctly" || echo ".tool-versions is not sorted correctly" -# renovate: datasource=github-releases depName=pre-commit/pre-commit pre-commit 3.7.1