-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
775c09a
commit 175a527
Showing
2 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,23 @@ | ||
# renovate-config | ||
Shared configurations for Renovate bot | ||
|
||
Use as [described in the Renovate docs](https://docs.renovatebot.com/config-presets/): | ||
|
||
```json | ||
{ | ||
"extends": ["github>AmpelProject/renovate-config"] | ||
} | ||
``` | ||
|
||
## default | ||
|
||
This is intended to keep noise down while upgrading Ampel-internal dependencies as rapidly as possible. | ||
|
||
Monthly: | ||
- minor and patch updates to install dependencies are grouped together, and automatically merged when tests pass | ||
- ditto for dev dependencies | ||
- major updates create individual PRs | ||
|
||
Every run: | ||
- Ampel packages are bumped | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"extends": [ | ||
"config:base" | ||
], | ||
"schedule": "every 1 month on Monday before 5am", | ||
"automerge": true, | ||
"automergeType": "branch", | ||
"lockFileMaintenance": { | ||
"enabled": true | ||
}, | ||
"packageRules": [ | ||
{ | ||
"matchUpdateTypes": ["minor", "patch", "pin", "digest"], | ||
"groupName": "minor updates" | ||
}, | ||
{ | ||
"matchUpdateTypes": ["major"], | ||
"automerge": false | ||
}, | ||
{ | ||
"matchDepTypes": ["dev-dependencies"], | ||
"groupName": "dev dependencies", | ||
"rangeStrategy": "bump" | ||
}, | ||
{ | ||
"matchPackagePatterns": ["^ampel-.*"], | ||
"schedule": null, | ||
"groupName": "ampel packages", | ||
"rangeStrategy": "bump" | ||
} | ||
] | ||
} |