Skip to content

Commit c237f70

Browse files
authored
Update renovate.json config (#1221)
1 parent e8b55f8 commit c237f70

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

.github/workflows/renovate.yaml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Renovate
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'renovate.json'
7+
push:
8+
branches:
9+
- master
10+
11+
jobs:
12+
validate-renovate-config:
13+
name: Validate renovate.json
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Set up Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: '20'
23+
24+
- name: Install Renovate
25+
run: npm install -g renovate
26+
27+
- name: Validate renovate.json
28+
run: renovate-config-validator

renovate.json

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
23
"extends": [
3-
"config:base"
4+
"config:recommended"
5+
],
6+
"packageRules": [
7+
{
8+
"matchManagers": ["gomod"],
9+
"matchDepTypes": ["indirect"],
10+
"enabled": true
11+
}
12+
],
13+
"postUpdateOptions": [
14+
"gomodTidy"
415
]
516
}

0 commit comments

Comments
 (0)