-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
85 lines (85 loc) · 3.14 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
// Note: we use JSON5 to be able to use comments
// This file is a suggestion for how to customize the default "config:base" preset. The sections below reference
// numbered tips from the cheat sheet in this article: https://www.augmentedmind.de/2021/07/25/renovate-bot-cheat-sheet/
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":preserveSemverRanges"
],
// Configure PR assignees (#4)
"assignees": [
"rxcod9"
],
"packageRules": [
// Disable updates for specific dependencies (#3)
{
"matchPackageNames": [
"neutrino"
],
"enabled": false
},
// Avoid spam via automatic merging (#6)
{
"description": "Automatically merge minor and patch-level updates",
"matchUpdateTypes": [
"minor",
"patch",
"digest"
],
"automerge": true,
// Force Renovate to not create a PR (but merge its branches directly), to avoid PR-related email spam
"automergeType": "branch"
// remove this line if you DO want emails (spam)
},
// Keep up to date with Renovate Bot's development (#11)
{
"description": "Disables the creation of branches/PRs for any minor/patch updates etc. of Renovate bot",
"matchPaths": [
"renovate-update-notification/Dockerfile"
],
"matchUpdateTypes": [
"minor",
"patch",
"pin",
"digest",
"rollback"
],
"enabled": false
},
{
"description": "Causes the bot to create a PR (and thus, an email notification), whenever there is a new major Renovate version",
"matchPaths": [
"renovate-update-notification/Dockerfile"
],
"matchUpdateTypes": [
"major"
],
// you can also set automerge to true - emails for the PRs will already have been sent anyway, so there is
// no strict reason to keep the PR open - unless you want to associate it with updates you make to renovate.json5
"automerge": false,
// just re-states the default and ensures that PRs are really created - you can remove this line
// if you did not change "prCreation" elsewhere to some non-default value
"prCreation": "immediate",
}
],
// Disable updates for specific programming languages (#3)
"golang": {
"enabled": false
},
// Avoid spam via scheduling and grouping (#5): avoid interference during working hours - applies globally to all deps!
"schedule": [
"after 10pm every weekday",
"before 5am every weekday",
"every weekend"
],
// Speed up the automatic merging process (e.g. GitLab) (#6)
"platformAutomerge": true,
// Fix default branch rebasing - always rebase still-open temporary branches, whenever its source branch has changed (#8)
"rebaseWhen": "behind-base-branch",
// Handle pulled dependency updates (#9)
"rollbackPrs": true,
// Improve overview of open PRs (caused by Renovate Bot) (#10)
"dependencyDashboard": true,
"dependencyDashboardAutoclose": true,
}