From 23594971667710ae2f67b3d64078fc95e72dad9c Mon Sep 17 00:00:00 2001 From: Denis Voytyuk <5462781+denisvmedia@users.noreply.github.com> Date: Tue, 4 Feb 2025 19:35:48 +0100 Subject: [PATCH] Update renovate.json config --- .github/workflows/renovate.yaml | 28 ++++++++++++++++++++++++++++ renovate.json | 13 ++++++++++++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/renovate.yaml diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml new file mode 100644 index 000000000..2c810d018 --- /dev/null +++ b/.github/workflows/renovate.yaml @@ -0,0 +1,28 @@ +name: Renovate + +on: + pull_request: + paths: + - 'renovate.json' + push: + branches: + - master + +jobs: + validate-renovate-config: + name: Validate renovate.json + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Install Renovate + run: npm install -g renovate + + - name: Validate renovate.json + run: renovate-config-validator diff --git a/renovate.json b/renovate.json index f45d8f110..70f5a8fe7 100644 --- a/renovate.json +++ b/renovate.json @@ -1,5 +1,16 @@ { + "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ - "config:base" + "config:recommended" + ], + "packageRules": [ + { + "matchManagers": ["gomod"], + "matchDepTypes": ["indirect"], + "enabled": true + } + ], + "postUpdateOptions": [ + "gomodTidy" ] }