Repository navigation
Expand file tree
/
Copy pathrenovate.json
More file actions
60 lines (52 loc) · 2.6 KB
/
Copy pathrenovate.json
File metadata and controls
60 lines (52 loc) · 2.6 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
// Public repo: Mend does not apply the org config (aignostics/renovate-config) here.
// The SDK is deprecated and gets only bug and security fixes until it is retired. Renovate opens
// only vulnerability fixes and the weekly lock file maintenance from config:best-practices, which
// updates vulnerable transitive dependencies.
"extends": ["config:best-practices"],
"timezone": "Europe/Berlin",
"minimumReleaseAge": "5 days",
// Org rulesets reject commits that are not Conventional Commits.
"semanticCommits": "enabled",
// CI runs on pull_request only, so a Renovate branch never becomes "not pending".
"prCreation": "immediate",
"automerge": true,
"automergeStrategy": "squash",
// CI reads this label: skip:codecov skips the Codecov upload.
"labels": ["skip:codecov"],
// .github/labels.yml defines these labels.
"addLabels": ["renovate", "{{{manager}}}"],
"osvVulnerabilityAlerts": true,
"dependencyDashboard": {
"osvVulnerabilitySummary": "all"
},
// enabled: true forces fix PRs through the last package rule. A fix skips the 5-day wait, so a
// person checks it before the merge.
"vulnerabilityAlerts": {
"enabled": true,
"addLabels": ["security"],
"automerge": false,
"prHeader": "> [!IMPORTANT]\n> **Security fix, opened without the 5-day wait**\n>\n> Renovate opened this PR because a published advisory affects the current version. It skipped the [**minimum release age** (`minimumReleaseAge`)](https://docs.renovatebot.com/key-concepts/minimum-release-age/) check, so the fixed version might be younger than 5 days. Read the advisory below, check the release age and the upstream release, then merge by hand.\n>\n> This exception is configured in [renovate.json](https://github.com/aignostics/python-sdk/blob/main/renovate.json)."
},
"packageRules": [
{
"description": [
"Lock file maintenance has no release timestamp, so timestamp-required holds it forever.",
"Remove this rule when renovatebot/renovate#46645 is released."
],
"matchUpdateTypes": ["lockFileMaintenance"],
"minimumReleaseAgeBehaviour": "timestamp-optional"
},
{
"description": [
"The SDK is deprecated and gets only bug and security fixes until it is retired.",
"vulnerabilityAlerts.enabled forces fix PRs through this rule.",
"Lock file maintenance stays on: it updates vulnerable transitive dependencies. This rule does not match it.",
"Keep this rule last."
],
"matchPackageNames": ["*"],
"enabled": false
}
]
}