Repository navigation
Expand file tree
/
Copy pathlockdown.json
More file actions
43 lines (43 loc) · 1.53 KB
/
Copy pathlockdown.json
File metadata and controls
43 lines (43 loc) · 1.53 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "🔒 Lockdown: no automerge anywhere, 14-day floor, every update waits for dashboard approval. For use during an active supply-chain incident.",
"extends": ["local>ownctrl/supply-chain"],
"schedule": ["before 06:00 on monday"],
"minimumReleaseAge": "14 days",
"prConcurrentLimit": 2,
"dependencyDashboardApproval": true,
"packageRules": [
{
"description": "LOCKDOWN: npm floor to 14 days -- must be a packageRule, the top-level value is outranked by the inherited npm rule",
"matchDatasources": ["npm"],
"minimumReleaseAge": "14 days"
},
{
"description": "LOCKDOWN: Disable ALL automerge",
"automerge": false,
"dependencyDashboardApproval": true,
"matchPackageNames": ["*"]
},
{
"description": "LOCKDOWN: Production deps require manual approval",
"matchDepTypes": ["dependencies", "peerDependencies"],
"prPriority": -50,
"prBodyNotes": [
"🔒 **LOCKDOWN MODE ACTIVE**",
"",
"This repository is in security lockdown due to active supply chain threats.",
"",
"Before approving:",
"- [ ] Verify package source and maintainer",
"- [ ] Check for security advisories",
"- [ ] Review changelog for suspicious changes",
"- [ ] Run detection scripts after merge"
]
},
{
"description": "LOCKDOWN: Block all major updates",
"matchUpdateTypes": ["major"],
"enabled": false
}
]
}