-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrenovate.json
More file actions
103 lines (103 loc) · 3.4 KB
/
renovate.json
File metadata and controls
103 lines (103 loc) · 3.4 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"helpers:pinGitHubActionDigests",
":gitSignOff",
":semanticCommitsDisabled",
"security:minimumReleaseAgeNpm"
],
"labels": ["dependencies"],
"prHourlyLimit": 4,
"rangeStrategy": "bump",
"schedule": ["* 0-7 * * 1"],
"timezone": "America/New_York",
"automergeType": "pr",
"automergeStrategy": "squash",
"vulnerabilityAlerts": {
"labels": ["security"],
"schedule": "at any time"
},
"lockFileMaintenance": {
"enabled": true,
"automerge": true
},
"customManagers": [
{
"customType": "regex",
"description": "Update Docker images in MCP usage guide Kubernetes manifests",
"managerFilePatterns": ["/^docs/toolhive/guides-mcp/.*\\.mdx?$/"],
"matchStrings": [
"image:\\s*[\"']?(?<depName>[^:\"'\\s]+):(?<currentValue>[^\"'\\s]+)[\"']?\\s*(?:#.*)?"
],
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
},
{
"customType": "regex",
"description": "Track upstream ToolHive project versions for docs updates. PRs this opens are augmented by .github/workflows/upstream-release-docs.yml.",
"managerFilePatterns": ["/^\\.github/upstream-projects\\.yaml$/"],
"matchStrings": [
"repo:\\s*(?<depName>[\\w.\\-/]+)\\s+version:\\s*(?<currentValue>v[\\w.+\\-]+)"
],
"datasourceTemplate": "github-releases"
}
],
"packageRules": [
{
"extends": ["packages:linters"],
"matchPackageNames": ["husky", "lint-staged", "globals", "remark-*"],
"groupName": "linters",
"automerge": true
},
{
"matchManagers": ["github-actions"],
"minimumReleaseAge": "3 days",
"minimumReleaseAgeBehaviour": "timestamp-optional",
"internalChecksFilter": "strict",
"prCreation": "not-pending",
"groupName": "GitHub Actions"
},
{
"matchDatasources": ["docker"],
"matchPackageNames": ["mcr.microsoft.com/devcontainers/typescript-node"],
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"matchManagers": ["npm"],
"matchDepTypes": ["engines"],
"rangeStrategy": "replace"
},
{
"matchManagers": ["nvm"],
"rangeStrategy": "replace"
},
{
"matchManagers": ["custom.regex"],
"matchFileNames": ["/^docs/toolhive/guides-mcp//"],
"groupName": "MCP usage guide Docker images",
"schedule": ["before 10am on the first day of the month"],
"minimumReleaseAge": "3 days",
"minimumReleaseAgeBehaviour": "timestamp-optional",
"internalChecksFilter": "strict",
"prCreation": "not-pending",
"labels": ["documentation", "mcp-guides"]
},
{
"matchManagers": ["custom.regex"],
"matchFileNames": ["**/.github/upstream-projects.yaml"],
"schedule": ["at any time"],
"minimumReleaseAge": "1 hour",
"minimumReleaseAgeBehaviour": "timestamp-optional",
"ignoreUnstable": true,
"rebaseWhen": "never",
"recreateWhen": "never",
"commitMessageTopic": "{{depName}}",
"labels": ["autogen-docs"],
"prBodyNotes": [
"After this PR opens, `.github/workflows/upstream-release-docs.yml` adds source-verified content edits for the new release. For `stacklok/toolhive`, the same workflow also syncs reference assets (CLI help, Swagger) and regenerates the CRD MDX pages."
]
}
]
}