File tree Expand file tree Collapse file tree 3 files changed +43
-7
lines changed Expand file tree Collapse file tree 3 files changed +43
-7
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ jobs:
24
24
channel : stable
25
25
cache : true
26
26
27
- - name : Set environment
27
+ - name : Set environment for MacOS & Ubuntu
28
28
if : startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')
29
29
run : echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
30
30
31
- - name : Set environment
31
+ - name : Set environment for Windows
32
32
if : startsWith(matrix.os, 'windows')
33
33
run : echo "%LOCALAPPDATA%\Pub\Cache\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
34
34
Original file line number Diff line number Diff line change
1
+ name : Validate Renovate Config
2
+
3
+ on :
4
+ push :
5
+ paths :
6
+ - ' renovate.json'
7
+ pull_request :
8
+ paths :
9
+ - ' renovate.json'
10
+
11
+ jobs :
12
+ validate :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout repository
16
+ uses : actions/checkout@v4
17
+
18
+ - name : Read .node-version
19
+ id : node_version
20
+ run : echo "version=$(cat .node-version)" >> $GITHUB_ENV
21
+
22
+ - name : Setup Node.js
23
+ uses : actions/setup-node@v4
24
+ with :
25
+ node-version : " ${{ env.version }}"
26
+
27
+ - name : Validate Renovate Config
28
+ run : npx --yes --package renovate -- renovate-config-validator
Original file line number Diff line number Diff line change 1
1
{
2
2
"extends" : [
3
- " config:base " ,
3
+ " config:recommended " ,
4
4
" group:monorepos" ,
5
5
" :semanticCommits" ,
6
6
" :semanticCommitTypeAll(upgrade)" ,
7
7
" :semanticCommitScopeDisabled"
8
8
],
9
9
"timezone" : " Asia/Tokyo" ,
10
- "schedule" : [" every weekend" ],
10
+ "schedule" : [
11
+ " * * * * 3"
12
+ ],
11
13
"branchConcurrentLimit" : 5 ,
12
14
"branchPrefix" : " upgrade-renovate-" ,
13
15
"dependencyDashboard" : false ,
14
- "ignorePaths" : [" .github/" , " examples/**" ],
16
+ "ignorePaths" : [
17
+ " .github/" ,
18
+ " examples/**"
19
+ ],
15
20
"major" : {
16
- "stabilityDays " : 30
21
+ "minimumReleaseAge " : " 30 days "
17
22
},
18
23
"minor" : {
19
- "stabilityDays" : 14
24
+ "minimumReleaseAge" : " 14 days"
25
+ },
26
+ "patch" : {
27
+ "enabled" : false
20
28
}
21
29
}
You can’t perform that action at this time.
0 commit comments