Skip to content

Commit

Permalink
fix(renovate-config): fix missed config entry
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepolischuk committed Apr 24, 2024
1 parent f18842d commit 14c699c
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 23 deletions.
12 changes: 10 additions & 2 deletions packages/renovate-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,19 @@ yarn add -D @rambler-tech/renovate-config

## Usage

Create a **renovate.json** and extend this config.
Included configurations:

- `@rambler-tech/renovate-config` - base config
- `@rambler-tech/renovate-config/automerge` - enables auto-merge for `patch` and `minor` updates

Example `renovate.json` for updates with auto-merge:

```json
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": "@rambler-tech/renovate-config"
"extends": [
"@rambler-tech/renovate-config",
"@rambler-tech/renovate-config:automerge"
]
}
```
21 changes: 0 additions & 21 deletions packages/renovate-config/default.json

This file was deleted.

51 changes: 51 additions & 0 deletions packages/renovate-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,56 @@
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"renovate-config": {
"default": {
"minimumReleaseAge": "3 days",
"reviewersFromCodeOwners": true,
"packageRules": [
{
"matchUpdateTypes": [
"patch"
],
"addLabels": [
"dependencies",
"patch"
]
},
{
"matchUpdateTypes": [
"minor"
],
"addLabels": [
"dependencies",
"minor"
]
},
{
"matchUpdateTypes": [
"major"
],
"addLabels": [
"dependencies",
"major"
]
}
]
},
"automerge": {
"packageRules": [
{
"matchUpdateTypes": [
"patch"
],
"automerge": true
},
{
"matchUpdateTypes": [
"minor"
],
"automerge": true
}
]
}
}
}

0 comments on commit 14c699c

Please sign in to comment.