File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Renovate Config Linting
2+ on :
3+ pull_request :
4+
5+ jobs :
6+ renovate :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v3
10+ - name : 🧼 lint renovate config # Validates changes to renovate.json config file
11+ uses : suzuki-shunsuke/github-action-renovate-config-validator@v0.1.2
12+ with :
13+ config_file_path : ' renovate.json'
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://docs.renovatebot.com/renovate-schema.json" ,
3+ "description" : " Renovate configuration for hypernova php repository" ,
4+ "extends" : [
5+ " config:base" ,
6+ " :dependencyDashboard" ,
7+ " :rebaseStalePrs"
8+ ],
9+ "schedule" : [
10+ " before 3am every weekday"
11+ ],
12+ "enabledManagers" : [
13+ " github-actions"
14+ ],
15+ "composer" : {
16+ "packageRules" : [
17+ {
18+ "description" : " Wait 3 days before opening a PR for new major version updates" ,
19+ "matchUpdateTypes" : [" major" ]
20+ },
21+ {
22+ "description" : " Automerge non-major version updates (assuming the CI pipelines pass)" ,
23+ "matchUpdateTypes" : [" patch" , " minor" ]
24+ }
25+ ]
26+ },
27+ "packageRules" : [
28+ {
29+ "matchManagers" : [" github-actions" ],
30+ "groupName" : " GitHub Actions"
31+ }
32+ ]
33+ }
You can’t perform that action at this time.
0 commit comments