From e13d4492ff9c1de354c74e78ae2c0b37fe428fac Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Sat, 5 Aug 2023 21:38:41 +0200 Subject: [PATCH] ci: use central renovate config --- .github/renovate.json | 60 ++----------------------------------------- 1 file changed, 2 insertions(+), 58 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 1f81c71..2805283 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,62 +1,6 @@ { + "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ - "config:base", - ":semanticCommits", - ":semanticCommitType(deps)", - ":automergeMinor" - ], - "regexManagers": [ - { - "fileMatch": [ - "defaults/main.yml" - ], - "matchStrings": [ - "# renovate: datasource=(?\\S+) depName=(?\\S+)( versioning=(?.*?))?\\n.*?_version: (?.*)\\s" - ] - } - ], - "packageRules": [ - { - "description": "Strip v prefix from versions", - "groupName": "version prefix", - "matchDatasources": [ - "github-releases", - "github-tags" - ], - "extractVersion": "^v(?.*)$" - }, - { - "description": "Semantic commits for major versions", - "groupName": "major versions", - "matchUpdateTypes": [ - "major" - ], - "semanticCommitType": "major", - "semanticCommitScope": "deps", - "automerge": false - }, - { - "description": "Semantic commits for minor versions", - "groupName": "minor versions", - "matchUpdateTypes": [ - "minor" - ], - "semanticCommitType": "minor", - "semanticCommitScope": "deps", - "automerge": true - }, - { - "description": "Semantic commits for patch versions", - "groupName": "patch versions", - "matchUpdateTypes": [ - "patch" - ], - "semanticCommitType": "patch", - "semanticCommitScope": "deps", - "automerge": true - } - ], - "labels": [ - "renovate" + "github>rolehippie/.github//renovate/preset" ] }