From 39a282df2884feb2dee121153743c4ee96e721b5 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Thu, 2 Nov 2023 20:37:50 -0400 Subject: [PATCH 1/2] github: Drop dependabot config --- .github/dependabot.yml | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index c1f5b9815..000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,15 +0,0 @@ -version: 2 -updates: - - package-ecosystem: cargo - directory: "/" - schedule: - interval: weekly - open-pull-requests-limit: 10 - ignore: - - dependency-name: "*" - update-types: ["version-update:semver-patch"] - - package-ecosystem: github-actions - directory: "/" - schedule: - interval: weekly - open-pull-requests-limit: 10 From 4d7890ac458946c817a85741c1268a3d405ff820 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 3 Nov 2023 00:56:42 +0000 Subject: [PATCH 2/2] Add renovate config This config sets up renovate bot to: * Run once per week * Update Cargo.lock with the latest compatible versions. These PRs will be merged automatically if the tests pass. * For dep updates that are already semver-compatible with the version in Cargo.toml, no changes will be made (except for the lockfile as described above). So, for example, we won't get PRs to update log-0.4.5 to 0.4.21 in Cargo.toml, because that's already semver-compat and covered by the lockfile change. * For dep updates that are not semver-compat, a PR will be created. * Updates of the `typos` action will be merged automatically if the tests pass, since that action gets updated a lot and is low-risk to merge without human oversight. --- .github/renovate.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/renovate.json diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 000000000..66823ac2f --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base", + "schedule:weekly" + ], + "lockFileMaintenance": { + "enabled": true, + "automerge": true + }, + "rangeStrategy": "replace", + "packageRules": [ + { + "matchPackageNames": ["crate-ci/typos"], + "automerge": true + } + ] +}