-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json5
More file actions
54 lines (47 loc) · 1.75 KB
/
Copy pathrenovate.json5
File metadata and controls
54 lines (47 loc) · 1.75 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
{
// Renovate config — turn this on once the repo is connected to the Renovate app.
// Mirrors the supply-chain stance in .claude/rules/supply-chain.md.
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"config:recommended",
// Pin every GitHub Actions `uses:` to a 40-char commit SHA, matching §4 of supply-chain.md.
"helpers:pinGitHubActionDigests",
// Group all non-major dev-deps into one PR per week.
"group:allNonMajor",
],
// Mirror pnpm's minimumReleaseAge (7 days). Renovate won't open a PR for any
// release that's younger than this — same 7-day cooldown that protects local installs.
minimumReleaseAge: "7 days",
// Don't auto-merge anything. Every upgrade gets eyeballs.
automerge: false,
// One PR per dep group max — don't drown the repo.
prConcurrentLimit: 5,
prHourlyLimit: 2,
// Lockfile maintenance: refresh pnpm-lock.yaml weekly so transitive CVE fixes flow through
// without waiting for a direct-dep bump.
lockFileMaintenance: {
enabled: true,
schedule: ["before 5am on monday"],
},
packageRules: [
// Major upgrades always get their own PR (review carefully).
{
matchUpdateTypes: ["major"],
addLabels: ["dep:major"],
automerge: false,
},
// GitHub Actions: a "version" upgrade for us means the comment tag bumps; Renovate
// re-resolves the SHA via the pin helper above.
{
matchManagers: ["github-actions"],
addLabels: ["dep:actions"],
},
],
// Vulnerability alerts open PRs even if they violate cooldown — they're CVE-driven,
// which matches the carve-out in supply-chain.md §3 step 5.
vulnerabilityAlerts: {
enabled: true,
minimumReleaseAge: "0 days",
labels: ["security"],
},
}