From 7d6bc0e68862514c3aecf6c1f1c969c91bb00b8f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 22:08:06 +0000 Subject: [PATCH] chore(config): migrate config .github/renovate.json (#829) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/renovate.json | 68 ++++++++++++++++++++++++++++++++----------- 1 file changed, 51 insertions(+), 17 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 227d37e31..f599ba2cd 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,27 +1,38 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["config:recommended"], - "labels": ["dependencies"], + "extends": [ + "config:recommended" + ], + "labels": [ + "dependencies" + ], "prConcurrentLimit": 0, "prHourlyLimit": 0, - "schedule": ["* 0-7 * * 1"], + "schedule": [ + "* 0-7 * * 1" + ], "separateMultipleMajor": true, "packageRules": [ { "groupName": "Ansible collections", "matchManagers": [ "ansible-galaxy", - "regex" + "custom.regex" ] } ], "ansible-galaxy": { - "fileMatch": ["(^|/)[\\w-]*requirements([_.]\\w+)?\\.ya?ml$"], + "fileMatch": [ + "(^|/)[\\w-]*requirements([_.]\\w+)?\\.ya?ml$" + ], "packageRules": [ { "automerge": true, "matchCurrentVersion": "!/^0/", - "matchUpdateTypes": ["minor", "patch"] + "matchUpdateTypes": [ + "minor", + "patch" + ] } ] }, @@ -29,16 +40,24 @@ { "customType": "regex", "datasourceTemplate": "galaxy-collection", - "fileMatch": ["README.md"], - "matchStrings": ["- name: (?\\w+\\.\\w+)(?:\\s+#.*)?\\s+version: (?\\d+\\.\\d+\\.\\d+)"], + "fileMatch": [ + "README.md" + ], + "matchStrings": [ + "- name: (?\\w+\\.\\w+)(?:\\s+#.*)?\\s+version: (?\\d+\\.\\d+\\.\\d+)" + ], "versioningTemplate": "semver" } ], "dockerfile": { - "ignorePaths": ["molecule/**/Dockerfile.j2"] + "ignorePaths": [ + "molecule/**/Dockerfile.j2" + ] }, "github-actions": { - "addLabels": ["skip-changelog"], + "addLabels": [ + "skip-changelog" + ], "packageRules": [ { "groupName": "GitHub Actions", @@ -49,34 +68,49 @@ }, { "groupName": "Docker Actions", - "matchPackageNames": ["docker/**"] + "matchPackageNames": [ + "docker/**" + ] }, { "enabled": false, - "matchUpdateTypes": ["digest"] + "matchUpdateTypes": [ + "digest" + ] }, { "automerge": true, - "matchUpdateTypes": ["minor", "patch"], + "matchUpdateTypes": [ + "minor", + "patch" + ], "matchCurrentVersion": "!/^0/" } ] }, "pip_requirements": { - "fileMatch": ["(^|/)[\\w-]*requirements([_.]\\w+)?\\.(txt|pip)$"], + "fileMatch": [ + "(^|/)[\\w-]*requirements([_.]\\w+)?\\.(txt|pip)$" + ], "packageRules": [ { "groupName": "Python dependencies", - "matchPackageNames": ["*"] + "matchPackageNames": [ + "*" + ] }, { "groupName": "Ansible core", - "matchPackageNames": ["ansible-core"], + "matchPackageNames": [ + "ansible-core" + ], "separateMinorPatch": true }, { "automerge": true, - "matchUpdateTypes": ["patch"], + "matchUpdateTypes": [ + "patch" + ], "matchCurrentVersion": "!/^0/" } ]