From e8894b07bdcb2b0122ab2efd1261e53c0bdc17aa Mon Sep 17 00:00:00 2001 From: Christian Emmer <10749361+emmercm@users.noreply.github.com> Date: Wed, 29 Nov 2023 15:53:38 -0800 Subject: [PATCH 1/2] Apply Renovate stability settings globally --- .github/renovate.json5 | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 6cb5df449..f1f7dc3b0 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -51,6 +51,11 @@ rebaseWhen: 'conflicted', // separate PRs updating the lockfile are likely to conflict each other updateNotScheduled: true, // default + // Stability settings: don't raise a PR until a dependency is at least 3 days old + rangeStrategy: 'pin', + minimumReleaseAge: '3 days', + internalChecksFilter: 'strict', + packageRules: [ { matchCategories: ['node'], @@ -59,7 +64,19 @@ schedule: 'at any time', prCreation: 'immediate', platformAutomerge: true, + minimumReleaseAge: '0 days' }, + + // Perform dependency pinning immediately + { + matchUpdateTypes: ['pin'], + commitMessageAction: 'pin', + groupName: 'dependency ranges', + // Renovate's defaults for these options + schedule: 'at any time', + prCreation: 'immediate', + platformAutomerge: true, + } ], npm: { @@ -71,12 +88,6 @@ commitMessageTopic: 'lockfile', }, - // Stability settings: don't raise a PR until a dependency is at least 3 days old - rangeStrategy: 'pin', - commitMessageAction: 'update', // same as above, don't use `rangeStrategy` as the action - minimumReleaseAge: '3 days', - internalChecksFilter: 'strict', - packageRules: [ // Dependencies { @@ -143,22 +154,11 @@ prPriority: -10, }, - // Group/separate all dependency pinning, perform it immediately - { - matchUpdateTypes: ['pin'], - commitMessageAction: 'pin', - groupName: 'dependency ranges', - // Renovate's defaults for these options - schedule: 'at any time', - prCreation: 'immediate', - platformAutomerge: true, - }, - // Everything else { matchDepTypes: ['optionalDependencies', 'peerDependencies', 'engines'], enabled: false, - }, - ], - }, + } + ] + } } From 7d0fc345b81864318bb1c1d432c4870981866763 Mon Sep 17 00:00:00 2001 From: Christian Emmer <10749361+emmercm@users.noreply.github.com> Date: Wed, 29 Nov 2023 15:54:32 -0800 Subject: [PATCH 2/2] Test building docs on any docs/** changes --- .github/workflows/gh-pages.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index a6ac12e72..a53eb3755 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -31,8 +31,9 @@ jobs: with: filters: | changes: - - '**/mkdocs.yml' + - 'docs/**' - '**/*.md' + - 'mkdocs.yml' lint: needs: