-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdefault.json5
More file actions
77 lines (72 loc) · 2.2 KB
/
default.json5
File metadata and controls
77 lines (72 loc) · 2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["config:recommended"],
platformAutomerge: true,
rangeStrategy: "bump",
separateMinorPatch: true,
// #################################
// Avoid destruction of CI credits
// #################################
rebaseWhen: "never",
// PR opening limitations (just in case the job is not well setup)
branchConcurrentLimit: 1, // cap: only 1 new PR per execution
prConcurrentLimit: 10, // block when too many old PRs are still open
// ##########################################
// Never upgrade *to* a pre-release version
// ##########################################
ignoreUnstable: true,
// ##########################################
// Add minimum release date to avoid undiscovered vulnerabilities
// ##########################################
minimumReleaseAge: "14 days",
// ##########################################
// Delete and recreates the lock file once a week
// ##########################################
lockFileMaintenance: {
enabled: true,
},
// ################
// Package Rules
// ################
packageRules: [
{
// base behavior: automerge minors & patch updates for >=1.0.0 versions
matchUpdateTypes: ["minor", "patch", "pin", "digest"],
matchCurrentVersion: ">=1.0.0",
autoApprove: true,
automerge: true,
},
{
// don't consider major updates
matchUpdateTypes: ["major"],
enabled: false,
},
{
// group patch updates
matchUpdateTypes: ["patch"],
matchCurrentVersion: ">=1.0.0",
groupName: "all patches",
groupSlug: "all-patch-updates",
prPriority: 0,
autoApprove: true,
automerge: true,
},
{
// group minor updates of aws-sdk/*
matchPackagePatterns: ["^@aws-sdk"],
matchUpdateTypes: ["minor"],
groupName: "aws-sdk minors",
groupSlug: "aws-sdk-minor-updates",
prPriority: 1,
autoApprove: true,
automerge: true,
},
{
// don't automerge 0.x versions
matchCurrentVersion: "^0\\.",
matchUpdateTypes: ["minor", "patch", "pin", "digest"],
autoApprove: false,
automerge: false,
},
],
}