1
0
mirror of https://github.com/mgechev/revive.git synced 2025-10-30 23:37:49 +02:00

Update renovate.json config (#1221)

This commit is contained in:
Denis Voytyuk
2025-02-04 18:45:32 +00:00
committed by GitHub
parent e8b55f8917
commit c237f70575
2 changed files with 40 additions and 1 deletions

28
.github/workflows/renovate.yaml vendored Normal file
View File

@@ -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

View File

@@ -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"
]
}