-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.json
More file actions
41 lines (41 loc) · 2.14 KB
/
Copy pathdefault.json
File metadata and controls
41 lines (41 loc) · 2.14 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": [
"Shared Renovate policy for mavericks-* projects. A consumer's entire .github/renovate.json is:",
"{ \"$schema\": \"https://docs.renovatebot.com/renovate-schema.json\", \"extends\": [\"github>ModernMavericks/shared-cmake\"] }",
"Provides config:recommended + automerge. shared-cmake is a versioned GitHub Action: consumers pin",
"'uses: ModernMavericks/shared-cmake/...@v1' and Renovate's native github-actions manager tracks it",
"-- no custom manager needed for it. This preset does add a manager for mavericks-legacysupport",
"releases (tag the pinned version with a '# mavericks-legacysupport' comment).",
"AUTOMERGE POLICY: if it builds and passes, it ships -- patch, minor AND major alike. ignoreTests",
"is false, so a green build is the gate, and a consumer must produce a CI status check on Renovate",
"PRs (a pull_request-triggered build, or push: branches ['**']). A repo with NO build to gate sets",
"ignoreTests:true locally. Breakage that gets through is fixed forward in a -mavericks.N+1 release,",
"which costs less than a human reviewing every routine bump.",
"EXCEPTION RULE: a repo restricts automerge only where a bad bump would BUILD FINE AND BE WRONG --",
"the case a green build cannot catch. State that reason in the packageRule's description; an",
"exception without one is indistinguishable from drift."
],
"extends": [
"config:recommended"
],
"automerge": true,
"ignoreTests": false,
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": [
"/(^|/)versions\\.sh$/",
"/^\\.github/.+\\.ya?ml$/"
],
"matchStrings": [
"(?<currentValue>[0-9][^\\s#\"']*)\\s*#\\s*mavericks-legacysupport"
],
"depNameTemplate": "mavericks-legacysupport",
"packageNameTemplate": "ModernMavericks/macports-legacy-support",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v?(?<version>.+)$",
"versioningTemplate": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-mavericks\\.(?<build>\\d+)$"
}
]
}