File tree 2 files changed +40
-1
lines changed
2 files changed +40
-1
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change 1
1
{
2
+ "$schema" : " https://docs.renovatebot.com/renovate-schema.json" ,
2
3
"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"
4
15
]
5
16
}
You can’t perform that action at this time.
0 commit comments