Add Renovate config

This commit is contained in:
Gabe Kangas 2022-03-06 18:14:44 -08:00
parent bbd6570715
commit 5196491f73
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
2 changed files with 55 additions and 26 deletions

View File

@ -1,26 +0,0 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/build/javascript" # Location of package manifests
open-pull-requests-limit: 3
schedule:
interval: "daily"
reviewers:
- "gabek"
- package-ecosystem: "gomod"
directory: "/"
open-pull-requests-limit: 3
schedule:
interval: "daily"
reviewers:
- "gabek"
ignore:
# Ignore patch revisions of the aws sdk
- dependency-name: "github.com/aws/aws-sdk-go"
update-types: ["version-update:semver-patch"]

55
renovate.json Normal file
View File

@ -0,0 +1,55 @@
{
"extends": [
"config:base"
],
"timezone": "America/Los_Angeles",
"schedule": [
"before 8am on Monday"
],
"lockFileMaintenance": {
"enabled": true,
"automerge": true
},
"npm": {
"stabilityDays": 3
},
"packageRules": [
{
"description": "Automatically merge minor and patch-level updates",
"matchUpdateTypes": [
"minor",
"patch",
"digest"
],
"automerge": true,
"matchCurrentVersion": "!/^0/",
"automergeType": "branch"
},
{
"matchDepTypes": [
"devDependencies"
],
"automerge": true,
"major": {
"dependencyDashboardApproval": true
}
},
{
"matchPackagePatterns": [
"*"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"major": {
"dependencyDashboardApproval": true
},
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch",
"labels": [
"dependencies"
]
}
]
}