-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrenovate.json
More file actions
47 lines (47 loc) · 2.45 KB
/
renovate.json
File metadata and controls
47 lines (47 loc) · 2.45 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"dependencyDashboard": false,
"gitAuthor": "Lars Eggert <200328+larseggert@users.noreply.github.com>",
"enabledManagers": ["custom.regex"],
"customDatasources": {
"nss": {
"defaultRegistryUrlTemplate": "https://hg-edge.mozilla.org/projects/nss/json-tags",
"transformTemplates": [
"{\"releases\": tags[$match(tag, /^NSS_\\d+_\\d+(_\\d+)?_RTM$/)].{\"version\": $join($split($replace($replace(tag, \"NSS_\", \"\"), \"_RTM\", \"\"), \"_\"), \".\")}}"
]
},
"nspr": {
"defaultRegistryUrlTemplate": "https://hg-edge.mozilla.org/projects/nspr/json-tags",
"transformTemplates": [
"{\"releases\": tags[$match(tag, /^NSPR_\\d+_\\d+(_\\d+)?_RTM$/)].{\"version\": $join($split($replace($replace(tag, \"NSPR_\", \"\"), \"_RTM\", \"\"), \"_\"), \".\")}}"
]
}
},
"customManagers": [
{
"description": "Pinned tool versions annotated with '# renovate: depName=X datasource=Y [versioning=Z]'",
"customType": "regex",
"managerFilePatterns": [
"/\\.github/workflows/.*\\.yml$/",
"/action\\.yml$/",
"/\\.env$/"
],
"matchStrings": [
"# renovate: depName=(?<depName>\\S+) datasource=(?<datasource>\\S+)(?: versioning=(?<versioning>\\S+))?\\n\\s+VERSION: \"(?<currentValue>[0-9][0-9.]*)\"",
"# renovate: depName=(?<depName>\\S+) datasource=(?<datasource>\\S+)(?: versioning=(?<versioning>\\S+))?\\n\\s+VERSION=\"v(?<currentValue>[0-9][0-9.]*)\"",
"# renovate: depName=(?<depName>\\S+) datasource=(?<datasource>\\S+)(?: versioning=(?<versioning>\\S+))?\\n[A-Z_]+=(?<currentValue>[0-9][0-9.]*)",
"# renovate: depName=(?<depName>\\S+) datasource=(?<datasource>\\S+)(?: versioning=(?<versioning>\\S+))?\\n[^\\n]+# v(?<currentValue>[0-9][0-9.]*)"
]
}
],
"packageRules": [
{
"description": "SHA256 checksums must be updated manually alongside these version bumps",
"matchDepNames": ["rhysd/actionlint", "nss", "nspr"],
"prBodyNotes": [
"⚠️ **Manual step required**: update the SHA256 checksum(s) that correspond to this version bump:\n- `rhysd/actionlint`: update `SHA256` in `.github/workflows/actionlint.yml` from the [release checksums file](https://github.com/rhysd/actionlint/releases)\n- `nss`/`nspr`: update `NSS_SHA256`/`NSPR_SHA256` in `nss/nss-versions.env` from the Mozilla FTP release"
]
}
]
}