From 65551c18d85baf00ba715cef4fb5042eab89ac8d Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 1 Dec 2022 11:23:46 -0600 Subject: [PATCH] chore: Switch to renovate --- .github/dependabot.yml | 17 ----------------- .github/renovate.json5 | 34 ++++++++++++++++++++++++++++++++++ committed.toml | 2 +- 3 files changed, 35 insertions(+), 18 deletions(-) delete mode 100644 .github/dependabot.yml create mode 100644 .github/renovate.json5 diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 97ff7438d..000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,17 +0,0 @@ -version: 2 -updates: -- package-ecosystem: cargo - directory: "/" - schedule: - interval: monthly - time: "07:00" - open-pull-requests-limit: 10 - labels: - - C-dependencies -- package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: monthly - open-pull-requests-limit: 10 - labels: - - "C-dependencies" diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 000000000..1f650bd95 --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,34 @@ +{ + "semanticCommits": "enabled", + "configMigration": true, + "packageRules": [ + // Goals: + // - Keep version reqs low, ignoring compatible normal/build dependencies + // - Take advantage of latest dev-dependencies + // - Help keep versions down by always using latest breaking change + // - Rollup safe upgrades to reduce CI runner load + // - Have lockfile and manifest in-sync + { + "matchManagers": ["cargo"], + "matchDepTypes": ["dev-dependencies"], + "matchUpdateTypes": ["patch"], + "automerge": true, + "groupName": "dev", + }, + { + "matchManagers": ["cargo"], + "matchUpdateTypes": ["major"], + }, + { + "matchManagers": ["cargo"], + "matchUpdateTypes": ["minor"], + "enabled": false, + }, + { + "matchManagers": ["cargo"], + "matchDepTypes": ["build-dependencies", "dependencies"], + "matchUpdateTypes": ["patch"], + "enabled": false, + }, + ], +} diff --git a/committed.toml b/committed.toml index 08815cf97..4211ae384 100644 --- a/committed.toml +++ b/committed.toml @@ -1,3 +1,3 @@ style="conventional" -ignore_author_re="dependabot" +ignore_author_re="(dependabot|renovate)" merge_commit = false