From bd1842633072bb1bf70a70cc082b7e3333274949 Mon Sep 17 00:00:00 2001 From: RogerHowellDfE <96429508+RogerHowellDfE@users.noreply.github.com> Date: Thu, 11 Apr 2024 19:26:13 +0100 Subject: [PATCH 1/3] Update renovate.json --- renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 135cf537..0fe1afbb 100644 --- a/renovate.json +++ b/renovate.json @@ -13,7 +13,7 @@ "vulnerabilityAlerts": { "labels": ["security"], "automerge": true - } + }, "automergeType": "pr", "semanticCommits": true, "dependencyDashboard": true, From 7e8787a50a456528dad28da323f778ea358325e5 Mon Sep 17 00:00:00 2001 From: Roger Howell Date: Thu, 11 Apr 2024 19:35:51 +0100 Subject: [PATCH 2/3] GHA to validate renovate config --- .github/workflows/validate-renovate-config.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/validate-renovate-config.yml diff --git a/.github/workflows/validate-renovate-config.yml b/.github/workflows/validate-renovate-config.yml new file mode 100644 index 00000000..abdfba6a --- /dev/null +++ b/.github/workflows/validate-renovate-config.yml @@ -0,0 +1,15 @@ +name: Validate Renovate Configuration +on: [ push, pull_request ] + +jobs: + validate-renovate-config: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Install Renovate + run: npm install -g renovate + + - name: Validate Renovate config + run: npx --yes --package renovate -- renovate-config-validator --strict From 1c5c35477a4e4e3aff7e4152242e2fd3f7fc1252 Mon Sep 17 00:00:00 2001 From: Roger Howell Date: Thu, 11 Apr 2024 19:39:32 +0100 Subject: [PATCH 3/3] Update renovate.json --- renovate.json | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/renovate.json b/renovate.json index 0fe1afbb..d8ee15d5 100644 --- a/renovate.json +++ b/renovate.json @@ -1,8 +1,6 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:best-practices" - ], + "extends": ["config:best-practices"], "packageRules": [ { "description": "Automatically merge minor and patch-level updates", @@ -10,16 +8,14 @@ "automerge": true } ], - "vulnerabilityAlerts": { - "labels": ["security"], - "automerge": true - }, "automergeType": "pr", - "semanticCommits": true, + "semanticCommits": "enabled", "dependencyDashboard": true, "labels": ["dependencies"], "osvVulnerabilityAlerts": true, "vulnerabilityAlerts": { - "enabled": true + "enabled": true, + "labels": ["security"], + "automerge": true } }