-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathno-automerge.json5
More file actions
65 lines (61 loc) · 1.8 KB
/
no-automerge.json5
File metadata and controls
65 lines (61 loc) · 1.8 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
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: ['config:recommended'],
platformAutomerge: true,
rangeStrategy: "bump",
// #################################
// 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: 5, // block when too many old PRs are still open
// ##########################################
// Never upgrade *to* a pre-release version
// ##########################################
ignoreUnstable: 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: false,
automerge: false,
},
{
// 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: false,
automerge: false,
},
{
// group minor updates of aws-sdk/*
matchPackagePatterns: ["^@aws-sdk"],
matchUpdateTypes: ['minor'],
groupName: 'aws-sdk minors',
groupSlug: 'aws-sdk-minor-updates',
prPriority: 1,
autoApprove: false,
automerge: false,
},
{
// don't automerge 0.x versions
matchCurrentVersion: '^0\\.',
matchUpdateTypes: ['minor', 'patch', 'pin', 'digest'],
autoApprove: false,
automerge: false,
},
],
}