-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renovate options, e.g. disable docker renovate, more strict update (e.g. pin only devDependencies)
- Loading branch information
Showing
3 changed files
with
82 additions
and
3 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
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,25 @@ | ||
name: 'Validate renovate.json' | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- 'renovate.json' | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'renovate.json' | ||
|
||
jobs: | ||
validate: | ||
name: Validate | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Validate | ||
uses: rinchsan/[email protected] | ||
with: | ||
pattern: 'renovate.json' |
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,6 +1,54 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"local>Oriflame/renovate-config" | ||
"config:js-lib", | ||
":rebaseStalePrs", | ||
":automergePatch", | ||
"docker:disable" | ||
], | ||
"assignees": [ | ||
"jvilimek" | ||
], | ||
"labels": [ | ||
"dependencies" | ||
], | ||
"stabilityDays": 3, | ||
"internalChecksFilter": "strict", | ||
"bumpVersion": "patch", | ||
"packageRules": [ | ||
{ | ||
"paths": [ | ||
"packages/app/package.json" | ||
], | ||
"addLabels": [ | ||
"packages" | ||
] | ||
}, | ||
{ | ||
"paths": [ | ||
"packages/backend/package.json" | ||
], | ||
"addLabels": [ | ||
"packages" | ||
] | ||
}, | ||
{ | ||
"description": "In case of eslint package update change the label to [linting]", | ||
"matchPackagePatterns": [ | ||
"eslint" | ||
], | ||
"labels": [ | ||
"linting" | ||
] | ||
}, | ||
{ | ||
"description": "In case we have optional dependencies change add [optional] label", | ||
"matchDepTypes": [ | ||
"optionalDependencies" | ||
], | ||
"addLabels": [ | ||
"optional" | ||
] | ||
} | ||
] | ||
} | ||
} |