forked from oapi-codegen/oapi-codegen
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrenovate.json
More file actions
86 lines (86 loc) · 2.43 KB
/
renovate.json
File metadata and controls
86 lines (86 loc) · 2.43 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>oapi-codegen/renovate-config"
],
"gomod": {
"ignorePaths": []
},
"vulnerabilityAlerts": {
"commitMessageSuffix": "{{#if isGroup }}{{ else }} ({{#if packageFileDir}}{{packageFileDir}}{{else}}{{packageFile}}{{/if}}){{/if}} [SECURITY]"
},
"packageRules": [
{
"description": "Ensure that each directory has their own set of dependency updates, split by the parent directory of the package file (`packageFileDir`). Groups will be unaffected.",
"matchFileNames": [
"**/*"
],
"additionalBranchPrefix": "{{#if isGroup }}{{ else }}{{#if packageFileDir}}{{packageFileDir}}/{{else}}{{packageFile}}/{{/if}}{{/if}}",
"commitMessageSuffix": "{{#if isGroup }}{{ else }} ({{#if packageFileDir}}{{packageFileDir}}{{else}}{{packageFile}}{{/if}}){{/if}}"
},
{
"description": "Label example/test code separately",
"matchFileNames": [
"internal/test/**/*",
"examples/**/*"
],
"labels": [
"dependencies-test-only"
]
},
{
"description": "Don't attempt to bump dependencies if they're only used in example code, but allow manually forcing them via Dependency Dashboard",
"matchFileNames": [
"internal/test/**/*",
"examples/**/*"
],
"dependencyDashboardApproval": true
},
{
"description": "Don't attempt to bump `replace` statements for internal modules",
"matchDepNames": [
"github.com/oapi-codegen/oapi-codegen/v2"
],
"matchCurrentVersion": "v2.0.0-00010101000000-000000000000",
"enabled": false
},
{
"description": "Don't attempt to bump `replace` statements for internal modules",
"matchDepNames": [
"github.com/oapi-codegen/oapi-codegen/v2/internal/test"
],
"matchCurrentVersion": "v0.0.0-00010101000000-000000000000",
"enabled": false
},
{
"description": "",
"matchFileNames": [
"**/*/go.mod",
"**/*.go.sum"
],
"postUpgradeTasks": {
"commands": [
"make tidy"
],
"fileFilters": [
"**/*/go.mod",
"**/*/go.sum"
],
"executionMode": "branch"
}
}
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": [
"README.md"
],
"matchStrings": [
"# yaml-language-server: \\$schema=https://raw.githubusercontent.com/oapi-codegen/oapi-codegen/(?<currentValue>[^/]+)/configuration-schema.json"
],
"depNameTemplate": "github.com/oapi-codegen/oapi-codegen/v2",
"datasourceTemplate": "go"
}
]
}