Skip to content

Commit a9bc578

Browse files
committed
Document Go version pinning strategy in CONTRIBUTING.md
1 parent 2603279 commit a9bc578

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Runs Go's official vulnerability scanner ([govulncheck](https://pkg.go.dev/golan
6161
- **Squash merge only** — Merge commits and rebase merging are disabled. The PR title is used as the squash commit message, ensuring conventional commit messages land on `main`.
6262
- **Auto-delete branches** — Head branches are automatically deleted after a PR is merged.
6363
- **Renovate auto-merge**[Renovate](https://docs.renovatebot.com/) monitors `go.mod` for dependency updates and opens PRs automatically. Patch updates (e.g., `v1.8.0``v1.8.1`) are auto-merged after CI passes. Minor and major updates require manual review. Configuration lives in `renovate.json`.
64+
- **Go version pinning** — All CI workflows use `go-version-file: go.mod` so the Go compiler version is controlled by the `toolchain` directive in `go.mod`. To upgrade Go, update `go.mod` (Renovate opens PRs for this automatically). To downgrade after a bad release, revert the `toolchain` line in `go.mod` — all workflows pick up the change immediately.
6465

6566
## Release Process
6667

0 commit comments

Comments
 (0)