From 345812b5279fbcb54a3c3d18c5782a4a74a8a4b0 Mon Sep 17 00:00:00 2001 From: Vincent Esche Date: Tue, 21 Jan 2025 11:27:08 +0100 Subject: [PATCH] Refine "renovate.json" config file --- renovate.json | 52 ++++++++++++++++++++++++--------------------------- 1 file changed, 24 insertions(+), 28 deletions(-) diff --git a/renovate.json b/renovate.json index ed6d1047..afdb7b51 100644 --- a/renovate.json +++ b/renovate.json @@ -1,30 +1,26 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:recommended" - ], - "packageRules": [ - { - "groupName": "rust-analyzer dependencies", - "groupSlug": "rust-analyzer-dependencies", - "schedule": [ - "before 2am on Tuesday" - ], - "matchPackageNames": [ - "/^ra_ap_/" - ] - }, - { - "allowedVersions": "!/^=/", - "groupName": "all other dependencies", - "groupSlug": "other-dependencies", - "schedule": [ - "before 2am on Tuesday" - ], - "matchPackageNames": [ - "*", - "!/^ra_ap_/" - ] - } - ] + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended"], + "rangeStrategy": "auto", + "schedule": ["before 2am on Tuesday"], + "packageRules": [ + { + "groupName": "rust-analyzer dependencies", + "groupSlug": "rust-analyzer-dependencies", + "matchPackageNames": ["/^ra_ap_/"], + "rangeStrategy": "pin" + }, + { + "allowedVersions": "!/^=/", + "groupName": "all other dependencies", + "groupSlug": "other-dependencies", + "matchPackageNames": ["*", "!/^ra_ap_/"] + }, + { + "groupName": "github actions", + "groupSlug": "github-actions", + "matchDepTypes": ["action"], + "pinDigests": true + } + ] }