File tree Expand file tree Collapse file tree 1 file changed +29
-2
lines changed
Expand file tree Collapse file tree 1 file changed +29
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://docs.renovatebot.com/renovate-schema.json" ,
3- "extends" : [
4- " config:recommended"
3+ "extends" : [" config:base" ],
4+
5+ // (1) Update GitHub Actions refs + their pinned commit SHAs ("digests")
6+ "enabledManagers" : [" github-actions" ],
7+ "pinDigests" : true ,
8+
9+ // (3) Cool-off period ~ 1 month before proposing updates
10+ "stabilityDays" : 30 ,
11+
12+ // (4) Batch updates and open at most 1 PR per week
13+ // Run only on Mondays, and keep only 1 PR open at a time.
14+ "schedule" : [" on monday" ],
15+ "prConcurrentLimit" : 1 ,
16+
17+ // Make that one PR a batch
18+ "separateMajorMinor" : false ,
19+ "separateMinorPatch" : false ,
20+
21+ "packageRules" : [
22+ {
23+ // (2) Only follow release-like tags (no branches like main/master)
24+ // Renovate will still pin the ref to the commit SHA because pinDigests=true.
25+ "matchManagers" : [" github-actions" ],
26+ "allowedVersions" : " /^v?\\ d+(?:\\ .\\ d+){0,2}$/" ,
27+
28+ // (4) Batch all GHA updates into the single weekly PR
29+ "groupName" : " weekly-github-actions" ,
30+ "groupSlug" : " weekly-github-actions"
31+ }
532 ]
633}
You can’t perform that action at this time.
0 commit comments