From 5196491f7363932bb1e566c6ed6f20871e72291f Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sun, 6 Mar 2022 18:14:44 -0800 Subject: [PATCH] Add Renovate config --- .github/dependabot.yml | 26 -------------------- renovate.json | 55 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 26 deletions(-) delete mode 100644 .github/dependabot.yml create mode 100644 renovate.json diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 57a6710c5..000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,26 +0,0 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - -version: 2 -updates: - - package-ecosystem: "npm" # See documentation for possible values - directory: "/build/javascript" # Location of package manifests - open-pull-requests-limit: 3 - schedule: - interval: "daily" - reviewers: - - "gabek" - - - package-ecosystem: "gomod" - directory: "/" - open-pull-requests-limit: 3 - schedule: - interval: "daily" - reviewers: - - "gabek" - ignore: - # Ignore patch revisions of the aws sdk - - dependency-name: "github.com/aws/aws-sdk-go" - update-types: ["version-update:semver-patch"] diff --git a/renovate.json b/renovate.json new file mode 100644 index 000000000..b0799f36b --- /dev/null +++ b/renovate.json @@ -0,0 +1,55 @@ +{ + "extends": [ + "config:base" + ], + "timezone": "America/Los_Angeles", + "schedule": [ + "before 8am on Monday" + ], + "lockFileMaintenance": { + "enabled": true, + "automerge": true + }, + "npm": { + "stabilityDays": 3 + }, + "packageRules": [ + { + "description": "Automatically merge minor and patch-level updates", + "matchUpdateTypes": [ + "minor", + "patch", + "digest" + ], + "automerge": true, + "matchCurrentVersion": "!/^0/", + "automergeType": "branch" + }, + { + "matchDepTypes": [ + "devDependencies" + ], + "automerge": true, + "major": { + "dependencyDashboardApproval": true + } + }, + { + "matchPackagePatterns": [ + "*" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], + "major": { + "dependencyDashboardApproval": true + }, + "groupName": "all non-major dependencies", + "groupSlug": "all-minor-patch", + "labels": [ + "dependencies" + ] + } + ] +}