-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault.json
71 lines (69 loc) · 3.43 KB
/
default.json
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Use the default Renovate config preset for the @bfra-me organization.",
"extends": [
"config:recommended",
":semanticCommits",
":automergeRequireAllStatusChecks",
"docker:enableMajor",
"docker:pinDigests",
"mergeConfidence:age-confidence-badges",
"github>bfra-me/renovate-config:replacements.json5",
"github>bfra-me/renovate-config:vendors/bfra.me"
],
"packageRules": [
{
"description": "Delay updates until npm packages are safe from unpublishing.",
"matchDatasources": ["npm"],
"extends": ["npm:unpublishSafe"],
"prNotPendingHours": 73
}
],
"customManagers": [
{
"customType": "regex",
"description": "Update `version` and <*>`_VERSION` values in GitHub Actions and workflows.",
"fileMatch": [
"(^|/)action\\.ya?ml$",
"(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$"
],
"matchStrings": [
"\\s+version: (?<currentValue>.+?) # renovate: datasource=(?<datasource>.+?)(?: depName=(?<depName>.+?))?(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>[^\\s]+?))?\\s",
"\\s*[A-Z0-9_]+?_VERSION: (?<currentValue>.+?) # renovate: datasource=(?<datasource>.+?)(?: depName=(?<depName>.+?))?(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>[^\\s]+?))?\\s"
]
},
{
"customType": "regex",
"description": "Update `install-`<*> Buildpack commands and <*>`_VERSION` values in Dockerfiles.",
"fileMatch": [
"(^|/|\\.)([Dd]ocker|[Cc]ontainer)file$",
"(^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-.]+?)(?: depName=(?<depName>[^\\s]+?))?(?: (lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s(?:ENV|ARG)\\s+[A-Za-z0-9_]+?_VERSION[ =][\"']?(?<currentValue>.+?)[\"']?\\s",
"# renovate: datasource=(?<datasource>[a-z-.]+?)(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>[^\\s]+?))?\\sRUN install-[a-z0-9]+? (?<depName>[a-z0-9-]+?) (?<currentValue>.+?)\\s"
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
},
{
"customType": "regex",
"description": "Update GitHub Action references in Markdown files.",
"fileMatch": ["\\.markdown$", "\\.md$", "\\.mdx$"],
"matchStrings": [
"\\suses: (?<depName>[\\w-]+\\/[\\w-]+)(?<path>\\/.*)?@(?<currentValue>v\\d+\\.\\d+\\.\\d+)",
"\\suses: (?<depName>[\\w-]+\\/[\\w-]+)(?<path>\\/.*)?@(?<currentDigest>[a-z0-9]{40}|[a-z0-9]{64}) # tag=(?<currentValue>v\\d+\\.\\d+\\.\\d+)"
],
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver"
},
{
"customType": "regex",
"description": "Update _VERSION variables in shell scripts.",
"fileMatch": ["\\.bash$", "\\.sh$", "\\.zsh$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-.]+?)(?: depName=(?<depName>.+?))?(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>[^\\s]+?))?\\s+?.+?_VERSION=(?<currentValue>.+?)\\s"
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
}
]
}