Skip to content

Commit 09c42c5

Browse files
denikclaude
andauthored
Add self-hosted Renovate Bot for Go version management (#4736)
## Changes Add Renovate to manage the `go` directive version across all go.mod files (/, /tools, /bundle/internal/tf/codegen). Dependabot continues to handle package dependency updates with `go` version ignored to avoid duplicate PRs. ## Why We had cases where customers complained about scanners detecting CVEs due to us not running the latest golang version. This would help us upgrade proactively. ## Tests Not tested, will test after merging by triggering that workflow. --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3f3cc2b commit 09c42c5

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/renovate.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: renovate
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * 1" # Weekly on Monday at 00:00 UTC
6+
workflow_dispatch:
7+
8+
jobs:
9+
renovate:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: renovatebot/github-action@0b17c4eb901eca44d018fb25744a50a74b2042df # v46.1.4
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}

renovate.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"enabledManagers": ["gomod"],
4+
"packageRules": [
5+
{
6+
"matchManagers": ["gomod"],
7+
"matchDepTypes": ["require", "indirect", "toolchain"],
8+
"enabled": false
9+
}
10+
]
11+
}

0 commit comments

Comments
 (0)