From e8e24158be32b01b31771c18ca9495daf996486e Mon Sep 17 00:00:00 2001 From: Rowan Dash Date: Thu, 17 Oct 2024 16:25:37 +0100 Subject: [PATCH] feat: add new rules (#186) * feat: add new rules * refactor: disable dry run * feat: reorder rules --------- Co-authored-by: Joss Whittle --- .github/renovate.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/renovate.js b/.github/renovate.js index 6ea6bc92..7f4a99d9 100644 --- a/.github/renovate.js +++ b/.github/renovate.js @@ -2,7 +2,7 @@ module.exports = { // Uncomment dryRun to test exotic config options without spamming dozens of // pull requests onto a repo that you would then need to clean up... - dryRun: "full", + // dryRun: "full", // Inherit default config options //extends: ["config:base"], @@ -46,11 +46,26 @@ module.exports = { ], packageRules: [ + { + groupName: "all non-major dependencies", + groupSlug: "all-minor-patch", + matchPackageNames: ["*"], + matchUpdateTypes: ["minor", "patch"] + }, + { + matchUpdateTypes: ["major"], + dependencyDashboardApproval: true + }, { groupName: "workflows non-major dependencies", groupSlug: "workflows-minor-patch", matchPackageNames: ["SwanseaUniversityMedical/workflows"], matchUpdateTypes: ["minor", "patch"] + }, + { + matchPackageNames: ["SwanseaUniversityMedical/workflows"], + matchUpdateTypes: ["major"], + dependencyDashboardApproval: false } ],