forked from DroidKaigi/conference-app-2023
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
68 lines (58 loc) · 1.8 KB
/
renovate.json5
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
// See https://docs.renovatebot.com/configuration-options/ for more details
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"github>whitesource/merge-confidence:beta", // https://github.com/whitesource/merge-confidence
],
"baseBranches": ["main"],
// for saving GitHub Actions minutes
// We are going to remove this when we migrate to public repository
"rebaseWhen": "never",
"timezone": "Asia/Tokyo",
"prHourlyLimit": 0, // # of PRs will be created but never exceed prConcurrentLimit. 0 means infinite.
"prConcurrentLimit": 10, // # of PRs can be open at the time (security updates are not affected)
"pruneBranchAfterAutomerge": true,
"pruneStaleBranches": true,
"automergeStrategy": "merge-commit",
"labels": ["renovate-update"],
// Add new managers if required
"enabledManagers": [
"swift",
'bundler',
'ruby-version',
"github-actions",
"gradle",
"gradle-wrapper"
],
"packageRules": [
// GitHub Actions
{
"groupName": "gh-actions", // Aggregate updates to Actions into one PR.
"prPriority": -1,
"matchManagers": ["github-actions"],
"matchDatasources": ["github-tags"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true,
"platformAutomerge": true,
"pinDigests": true, // Use digest instead of refs
"schedule": ["after 10am before 5pm on wednesday"], // Weekly
},
// Others
{
"matchUpdateTypes": ["minor", "patch"],
"matchCurrentVersion": "!/^0/",
"automerge": true
}
],
"vulnerabilityAlerts": {
"enabled": true
},
"osvVulnerabilityAlerts": true,
"minor": {
"minimumReleaseAge": "3 days", // for security reason
},
"patch": {
"minimumReleaseAge": "2 days", // for security reason
}
}