-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
38 lines (38 loc) · 1.95 KB
/
Copy pathrenovate.json
File metadata and controls
38 lines (38 loc) · 1.95 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Keeps the SheepOS pipeline in sync with kairos-init, the Kairos Factory Action, AuroraBoot, openSUSE and k3s. Built-in managers cover Dockerfile FROM lines and workflow `uses:` refs; the custom managers below cover pins that live in ARG defaults / workflow inputs. If Renovate is enabled on the org, delete .github/dependabot.yml to avoid duplicate PRs.",
"extends": ["config:recommended"],
"labels": ["dependencies"],
"customManagers": [
{
"customType": "regex",
"description": "Version pins annotated with '# renovate: datasource=... depName=...' (k3s in images/Dockerfile, auroraboot_version in workflows)",
"managerFilePatterns": ["/^images\\/Dockerfile$/", "/^\\.github\\/workflows\\/.+\\.ya?ml$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+) depName=(?<depName>[^\\s]+)\\n[^\\n]*?[=:] ?\"?(?<currentValue>v?[0-9][^\\s\"]*)\"?"
]
},
{
"customType": "regex",
"description": "Container image pins annotated with '# renovate: docker-image' (openSUSE base in images/Dockerfile ARG default and build.yaml base_image input)",
"managerFilePatterns": ["/^images\\/Dockerfile$/", "/^\\.github\\/workflows\\/.+\\.ya?ml$/"],
"matchStrings": [
"# renovate: docker-image\\n[^\\n]*?[=:] ?(?<depName>[a-z0-9./-]+):(?<currentValue>[A-Za-z0-9._-]+)"
],
"datasourceTemplate": "docker"
}
],
"packageRules": [
{
"matchDepNames": ["k3s-io/k3s"],
"versioning": "semver-coerced",
"description": "k3s tags carry +k3sN build metadata; coerce for ordering. Keep within the minor the cluster supports before merging."
},
{
"matchDepNames": ["opensuse/leap"],
"matchUpdateTypes": ["major", "minor"],
"dependencyDashboardApproval": true,
"description": "New Leap releases change the userland — opt in deliberately instead of auto-PRing."
}
]
}