From a8968bb2e7afb551ba4c4fc2cd6454fab8b93eb2 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Fri, 6 May 2022 21:41:02 +0800 Subject: [PATCH] Enable renovate (#12799) --- .github/dependabot.yml | 51 ------------------------------------------ .github/renovate.json5 | 17 ++++++++++++++ 2 files changed, 17 insertions(+), 51 deletions(-) create mode 100644 .github/renovate.json5 diff --git a/.github/dependabot.yml b/.github/dependabot.yml index ecf609457..be949de20 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,56 +1,5 @@ version: 2 updates: - - package-ecosystem: "npm" - directory: "/" - schedule: - interval: weekly - day: sunday - time: "01:00" - open-pull-requests-limit: 20 - labels: - - scope:dependency - target-branch: "next" - - - package-ecosystem: "npm" - directory: "/website" - schedule: - interval: weekly - day: sunday - time: "01:00" - labels: - - scope:dependency - target-branch: "next" - - - package-ecosystem: "npm" - directory: "/scripts/release" - schedule: - interval: weekly - day: sunday - time: "01:00" - labels: - - scope:dependency - target-branch: "next" - - - package-ecosystem: "npm" - directory: "/scripts/tools/bundle-test" - schedule: - interval: weekly - day: sunday - time: "01:00" - labels: - - scope:dependency - target-branch: "next" - - - package-ecosystem: "npm" - directory: "/scripts/tools/eslint-plugin-prettier-internal-rules" - schedule: - interval: weekly - day: sunday - time: "01:00" - labels: - - scope:dependency - target-branch: "next" - - package-ecosystem: "github-actions" directory: "/" schedule: diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 000000000..7422e6170 --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,17 @@ +{ + $schema: "https://docs.renovatebot.com/renovate-schema.json", + labels: ["scope:dependency"], + baseBranches: ["next"], + schedule: ["at 01:00 on sunday"], + packageRules: [ + { + matchPaths: [ + "package.json", + "website/package.json", + "scripts/release/package.json", + "scripts/tools/bundle-test/package.json", + "scripts/tools/eslint-plugin-prettier-internal-rules/package.json", + ], + }, + ], +}