Skip to content

Commit 890b5c7

Browse files
committed
chore(deps): enable Go toolchain updates in Dependabot
Configure Dependabot to track Go toolchain versions in addition to Go module dependencies. This ensures stdlib CVEs are caught and fixed automatically via Dependabot PRs. Changes: - Set interval to "daily" (was "weekly") for faster security response - Add "allow: dependency-type: all" to enable Go toolchain tracking - Apply to both root and examples/sdk/helm-template directories Context: Previously, Dependabot only tracked Go module dependencies (like github.com/opencontainers/selinux) but not the Go version itself. This meant stdlib CVEs in go.mod (e.g., go 1.24.6 → 1.24.9) were not automatically detected. With this change, Dependabot will create PRs for Go version updates when new patch releases contain security fixes. Related: replicated-collab/git-guardian-kots#287
1 parent e9111ed commit 890b5c7

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ updates:
1212
- "go"
1313
- "type::security"
1414
schedule:
15-
interval: "weekly"
15+
interval: "daily"
16+
# Enable Go toolchain updates to catch stdlib CVEs
17+
allow:
18+
- dependency-type: "all"
1619
groups:
1720
security:
1821
update-types:
@@ -25,7 +28,10 @@ updates:
2528
- "go"
2629
- "type::security"
2730
schedule:
28-
interval: "weekly"
31+
interval: "daily"
32+
# Enable Go toolchain updates to catch stdlib CVEs
33+
allow:
34+
- dependency-type: "all"
2935
groups:
3036
security:
3137
update-types:

0 commit comments

Comments
 (0)