-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json5
More file actions
81 lines (81 loc) · 3.7 KB
/
Copy pathrenovate.json5
File metadata and controls
81 lines (81 loc) · 3.7 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
// https://docs.renovatebot.com/presets-config/#configrecommended
"config:recommended",
// https://docs.renovatebot.com/presets-default/#configmigration
":configMigration",
// https://docs.renovatebot.com/presets-default/#pinallexceptpeerdependencies
":pinAllExceptPeerDependencies",
// https://docs.renovatebot.com/presets-abandonments/#abandonmentsrecommended
"abandonments:recommended",
// https://docs.renovatebot.com/presets-schedule/#scheduleweekly
"schedule:weekly",
// https://docs.renovatebot.com/presets-default/#separatemultiplemajorreleases
":separateMultipleMajorReleases",
// https://docs.renovatebot.com/presets-default/#maintainlockfilesweekly
":maintainLockFilesWeekly",
// https://docs.renovatebot.com/presets-helpers/#helperspingithubactiondigeststosemver
"helpers:pinGitHubActionDigestsToSemver",
// https://docs.renovatebot.com/presets-customManagers/#custommanagersgithubactionsversions
"customManagers:githubActionsVersions",
"github>mschoettle/renovate-presets//presets/docker-alpine.json5",
"github>mschoettle/renovate-presets//presets/actions-dependency-version.json5",
"github>mschoettle/renovate-presets//presets/pre-commit-hooks.json5",
],
// https://docs.renovatebot.com/configuration-options/#assignees
"assignees": ["mschoettle"],
"labels": ["dependencies"],
// Only rebase existing MRs when the branch is conflicted
// This avoids getting spammed by updates to existing MRs
// https://docs.renovatebot.com/configuration-options/#rebasewhen
"rebaseWhen": "conflicted",
// https://docs.renovatebot.com/configuration-options/#suppressnotifications
"suppressNotifications": ["prEditedNotification"],
// https://docs.renovatebot.com/key-concepts/minimum-release-age/
"minimumReleaseAge": "7 days",
// Ensure that weekly updates all get PRs created
// https://docs.renovatebot.com/configuration-options/#prconcurrentlimit
// https://docs.renovatebot.com/configuration-options/#prhourlylimit
"prConcurrentLimit": 0,
"prHourlyLimit": 0,
// Also get updates for images in jinja templates
"docker-compose": {
"managerFilePatterns": [
// default: https://docs.renovatebot.com/modules/manager/docker-compose/#default-config
"/(^|/)(?:docker-)?compose[^/]*\\.ya?ml$/",
// also detect jinja compose files
"/(^|/)(?:docker-)?compose[^/]*\\.ya?ml\\.jinja$/",
],
},
"packageRules": [
// Handle linuxserver/wireguard images which use build and revision indicators as well
// Derived from: https://docs.renovatebot.com/modules/versioning/regex/#description:~:text=Here%20is%20another%20example%2C%20this%20time%20for%20handling%20ghcr%2Eio%2Flinuxserver%2Fopenssh%2Dserver%20Docker%20images%2C%20which%20use%20patch%2C%20build%20and%20revision%20indicators%20with%20string%20prefixes
{
"matchDatasources": ["docker"],
"matchPackageNames": ["linuxserver/wireguard"],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-r(?<build>\\d)-ls(?<revision>.+)$",
},
// Combine uv package, uv image, and uv-pre-commit
{
"matchPackageNames": ["/uv-pre-commit|uv$/"],
"groupName": "uv",
},
// Combine markdownlint-cli2 image and pre-commit
{
"matchPackageNames": ["/markdownlint-cli2/"],
"groupName": "markdownlint-cli2",
},
// Upgrade updates for container images to fix/feat
{
"matchDatasources": ["docker"],
"matchUpdateTypes": ["minor", "patch"],
"semanticCommitType": "fix",
},
{
"matchDatasources": ["docker"],
"matchUpdateTypes": ["major"],
"semanticCommitType": "feat",
},
],
}