Skip to content

Commit 00880a0

Browse files
committed
Tooling: Add Renovate for automated dep updates
- Add `renovate.json` with weekly grouped non-major PRs (auto-merge) and monthly grouped major PRs (manual review) - Remove `govulncheck` from check runner and CI (covered by Renovate)
1 parent 004f302 commit 00880a0

6 files changed

Lines changed: 43 additions & 64 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,9 +455,6 @@ jobs:
455455
- name: Run nilaway
456456
run: ./scripts/check/check --check scripts-go-nilaway --ci
457457

458-
- name: Run govulncheck
459-
run: ./scripts/check/check --check scripts-go-govulncheck --ci
460-
461458
- name: Run deadcode
462459
run: ./scripts/check/check --check scripts-go-deadcode --ci
463460

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Run the smallest set of checks possible for efficiency while maintaining confide
5252
|svelte-check|knip|type-drift|svelte-tests|desktop-smoke|e2e-linux-typecheck|desktop-e2e-linux (slow)|rustfmt|clippy
5353
|cargo-audit|cargo-deny|cargo-udeps|jscpd-rust|cfg-gate|rust-tests|rust-tests-linux (slow)|license-server-prettier
5454
|license-server-eslint|license-server-typecheck|license-server-tests|gofmt|go-vet|staticcheck|ineffassign|misspell
55-
|gocyclo|nilaway|govulncheck|deadcode|go-tests|website-prettier|website-eslint|website-typecheck|website-build
55+
|gocyclo|nilaway|deadcode|go-tests|website-prettier|website-eslint|website-typecheck|website-build
5656
|website-e2e|docker-build|pnpm-audit|file-length}` (can use multiple `--check` flags or even a comma-separated list)
5757
- Run all: `./scripts/check.sh`. Runs all tests, linters, and formatters (with auto fixing) for all apps.
5858
- **E2E testing**: Full guide on Docker E2E, Playwright smoke tests, VNC debugging, fixture system:

renovate.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["config:recommended"],
4+
"schedule": ["before 6am on monday"],
5+
"timezone": "Europe/Budapest",
6+
"automerge": true,
7+
"platformAutomerge": true,
8+
"packageRules": [
9+
{
10+
"description": "Group all non-major updates into one weekly PR",
11+
"groupName": "all non-major updates",
12+
"matchUpdateTypes": ["patch", "minor", "pin", "digest"],
13+
"automerge": true
14+
},
15+
{
16+
"description": "Group all major updates into one monthly PR",
17+
"groupName": "all major updates",
18+
"matchUpdateTypes": ["major"],
19+
"schedule": ["before 6am on the first day of the month"],
20+
"automerge": false
21+
},
22+
{
23+
"description": "Security patches get immediate PRs, auto-merge",
24+
"matchCategories": ["security"],
25+
"schedule": ["at any time"],
26+
"automerge": true,
27+
"groupName": null
28+
}
29+
],
30+
"cargo": {
31+
"enabled": true
32+
},
33+
"gomod": {
34+
"enabled": true
35+
},
36+
"vulnerabilityAlerts": {
37+
"enabled": true,
38+
"schedule": ["at any time"],
39+
"automerge": true
40+
}
41+
}

scripts/check/CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Disabled by `--no-log` or `--ci`. Implementation in `stats.go`.
100100
| Website | Astro | prettier, eslint, typecheck, build, e2e |
101101
| Website | Docker | docker-build |
102102
| License server | TS | prettier, eslint, typecheck, tests |
103-
| Scripts | Go | gofmt, go-vet, staticcheck, ineffassign, misspell, gocyclo, nilaway, govulncheck, deadcode, go-tests |
103+
| Scripts | Go | gofmt, go-vet, staticcheck, ineffassign, misspell, gocyclo, nilaway, deadcode, go-tests |
104104
| Other | pnpm | pnpm-audit |
105105
| Other | Metrics | file-length (warn-only) |
106106

scripts/check/checks/registry.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -348,15 +348,6 @@ var AllChecks = []CheckDefinition{
348348
DependsOn: []string{"scripts-go-vet"},
349349
Run: RunNilaway,
350350
},
351-
{
352-
ID: "scripts-go-govulncheck",
353-
Nickname: "govulncheck",
354-
DisplayName: "govulncheck",
355-
App: AppScripts,
356-
Tech: "🐹 Go",
357-
DependsOn: nil,
358-
Run: RunGovulncheck,
359-
},
360351
{
361352
ID: "scripts-go-deadcode",
362353
Nickname: "deadcode",

scripts/check/checks/scripts-go-govulncheck.go

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)