-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrenovate.json
More file actions
38 lines (38 loc) · 1.24 KB
/
renovate.json
File metadata and controls
38 lines (38 loc) · 1.24 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://www.schemastore.org/renovate-41.json",
"extends": ["config:recommended"],
"configMigration": true,
"automerge": true,
"automergeStrategy": "squash",
"timezone": "America/New_York",
"schedule": ["after 10am and before 4pm"],
"packageRules": [
{
"matchManagers": ["github-actions"],
"pinDigests": true
},
{
"minimumReleaseAge": "0 days",
"matchPackageNames": ["nsheaps/{/,}**"]
}
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/Formula(/\\S+)?/\\S+\\.rb/"],
"matchStrings": [
"#\\s?renovate:?\\s*(registryUrl=(?<registryUrl>.+))?\\s*\\n\\s*depends_on \"https://raw.githubusercontent.com/(?<repo>[A-Za-z0-9-_]+/[A-Za-z0-9-_]+)/(?<currentValue>[A-Za-z0-9]+)/(?<depName>.+).rb\""
],
"versioningTemplate": "{{# if versioning}}{{{versioning}}}{{else}}git{{/if}}",
"datasourceTemplate": "custom.github-file"
}
],
"customDatasources": {
"github-file": {
"defaultRegistryUrlTemplate": "https://api.github.com/repos/{{repo}}/commits?path={{packageName}}.rb",
"transformTemplates": [
"{\"releases\":[{\"version\": $$.[0].sha, \"releaseTimestamp\": $$.[0].commit.author.date}]}"
]
}
}
}