From a0559c93802e6da380faecad65fb3be40b311e7e Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Sun, 8 May 2022 15:48:42 +0800 Subject: [PATCH] Validate renovate config (#12809) --- .github/renovate.json5 | 14 ++------------ .github/workflows/lint.yml | 3 +++ 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 7422e6170..d7c364a37 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -2,16 +2,6 @@ $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", - ], - }, - ], + // TODO: enable this + // schedule: ["after 01:00 on sunday"], } diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 136bb7571..94d8f09b2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -44,5 +44,8 @@ jobs: - name: Lint workflow files run: yarn lint:actionlint + - name: Validate renovate config + run: npx --package renovate -c renovate-config-validator + - name: Check Lock File Changes run: yarn && echo "Listing changed files:" && git diff --name-only --exit-code && echo "No files changed during lint."