forked from apollographql/odyssey-lift-off-part1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
46 lines (41 loc) · 1.67 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
{
// Boilerplate
$schema: "https://docs.renovatebot.com/renovate-schema.json",
// This will group all patch- and minor-level updates into a single PR
// rather than generating 1 PR per dependency (which is the current default)
// This just helps reduce noise on the repo.
extends: ["group:allNonMajor"],
// Disables dependency dashboard - it doesn't do anything on
// repos that don't support issues
dependencyDashboard: false,
// Resetting to the default PR creation configuration
// The default config overrides this.
// Realized I also need to change this because you don't have issues
// Normally, the dependency dashboard would tell you if PRs are holding
// because they're waiting for tests to pass.
// With this set to "immediate", you'll be able to see any stuck pulls
prCreation: "immediate",
// Prevent automerging any lockfile mainteance
// there's an ongoing discussion around whether or not
// we should even have lockfile maintenance on by default
// here: https://apollograph.slack.com/archives/C02TG9NHM/p1689259568243699
lockFileMaintenance: {
automerge: false,
},
packageRules: [
// Prevent automerging for PRs that aren't lockfile maintenance
{
matchPackagePatterns: ["*"],
automerge: false,
rangeStrategy: "replace"
},
// Example of pinning a dependency to a specific version or range of versions
// There's a ton of flexibility for doing this type of thing
// if you're looking for other options, check out the various config options:
// https://docs.renovatebot.com/configuration-options/#packagerules
{
matchPackageNames: ["react"],
allowedVersions: "16.x",
},
],
}