-
Notifications
You must be signed in to change notification settings - Fork 10
/
renovate.json5
50 lines (50 loc) · 2.41 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
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: ['local>netlify/renovate-config'],
// The config we're extending ignores test dirs, but we want to bump some fixture deps
ignorePaths: ['**/node_modules/**'],
packageRules: [
// Since we've enabled Renovate (see above) for fixture sites, adjust the config for these.
{
matchFileNames: ['tests/**/fixtures/**/package.json'],
// If a fixture requires a specific framework version, never bump it.
updatePinnedDependencies: false,
// Always use `chore:` (since these are test fixtures), to avoid no-op releases.
extends: [':semanticCommitTypeAll(chore)'],
},
{
description: 'Stable & unstable Remix bumps in test fixtures',
matchFileNames: ['tests/**/fixtures/**/package.json'],
// See https://docs.renovatebot.com/presets-monorepo/#monoreporemix.
matchSourceUrls: ['https://github.com/remix-run/remix'],
// Override the schedule to get immediate PRs.
schedule: null,
// Apply a unique label so we can trigger additional workflows for these PRs.
addLabels: ['bump-framework-in-fixtures'],
// Bump even if the release isn't tagged as `latest`.
respectLatest: false,
// Bump even if it's a pre-release (e.g. 1.2.3-beta.8).
ignoreUnstable: false,
// Ideally we'd like to disable automerge only for unstable bumps, but this is
// difficult (or impossible) to implement so we just disable it entirely.
automerge: false,
},
{
description: 'Stable & unstable React Router bumps in test fixtures',
matchFileNames: ['tests/**/fixtures/**/package.json'],
// See https://docs.renovatebot.com/presets-monorepo/#monoreporeact-router.
matchSourceUrls: ['https://github.com/ReactTraining/react-router', 'https://github.com/remix-run/react-router'],
// Override the schedule to get immediate PRs.
schedule: null,
// Apply a unique label so we can trigger additional workflows for these PRs.
addLabels: ['bump-framework-in-fixtures'],
// Bump even if the release isn't tagged as `latest`.
respectLatest: false,
// Bump even if it's a pre-release (e.g. 1.2.3-beta.8).
ignoreUnstable: false,
// Ideally we'd like to disable automerge only for unstable bumps, but this is
// difficult (or impossible) to implement so we just disable it entirely.
automerge: false,
},
],
}