Skip to content

Commit e9fad1e

Browse files
yaronfcursoragent
andauthored
chore: add Renovate config for Actions and Go deps (#26)
Automerge Actions and low-risk test modules; require dashboard approval for jwx majors; leave the go directive alone. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent e7cb66e commit e9fad1e

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

renovate.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended",
5+
":dependencyDashboard"
6+
],
7+
"labels": ["dependencies"],
8+
"prConcurrentLimit": 3,
9+
"prHourlyLimit": 2,
10+
"postUpdateOptions": ["gomodTidy"],
11+
"packageRules": [
12+
{
13+
"description": "Group and automerge GitHub Actions (minor/patch/digest)",
14+
"matchManagers": ["github-actions"],
15+
"matchUpdateTypes": ["minor", "patch", "digest"],
16+
"groupName": "github-actions",
17+
"automerge": true,
18+
"automergeType": "pr",
19+
"platformAutomerge": true
20+
},
21+
{
22+
"description": "Automerge low-risk Go test deps (minor/patch)",
23+
"matchManagers": ["gomod"],
24+
"matchPackageNames": [
25+
"github.com/stretchr/testify",
26+
"github.com/sergi/go-diff"
27+
],
28+
"matchUpdateTypes": ["minor", "patch"],
29+
"automerge": true,
30+
"automergeType": "pr",
31+
"platformAutomerge": true
32+
},
33+
{
34+
"description": "jwx majors require dashboard approval (API/crypto risk)",
35+
"matchManagers": ["gomod"],
36+
"matchPackagePatterns": ["^github\\.com/lestrrat-go/jwx"],
37+
"matchUpdateTypes": ["major"],
38+
"dependencyDashboardApproval": true
39+
},
40+
{
41+
"description": "Do not bump the go directive automatically",
42+
"matchManagers": ["gomod"],
43+
"matchDepNames": ["go"],
44+
"enabled": false
45+
}
46+
]
47+
}

0 commit comments

Comments
 (0)