Skip to content

Automate Go version bumps via a go.mod-only checker - #2

Merged
herve-quiroz merged 2 commits into
mainfrom
claude/go-version-convergence
Jun 19, 2026
Merged

Automate Go version bumps via a go.mod-only checker#2
herve-quiroz merged 2 commits into
mainfrom
claude/go-version-convergence

Conversation

@herve-quiroz

@herve-quiroz herve-quiroz commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Part of the fleet-wide Go version rollout in herve-quiroz/claude_code_environment#355.

This repo's workflows already use go-version-file: go.mod, so there is no skew to fix. This PR:

  • Adds check-go-version.yml: a scheduled workflow that compares go.mod's declared version against the latest stable Go and, when behind, opens a claude-labelled issue requesting the one-line bump. The autonomous Claude agent then creates the bump PR — this is less brittle than scripting the branch/commit/PR in the workflow.
  • Documents the "Go Version Consistency" invariant in CLAUDE.md.

It does not bump Go (go.mod stays 1.26) and does not touch any existing workflow — future bumps are driven by the checker.


✨ Content generated by Claude AI.

@herve-quiroz herve-quiroz added the claude Ticket that should be handled by Claude label Jun 18, 2026
@github-actions github-actions Bot added the input required Derived from whether the last interaction was Claude-authored. Do not set by hand label Jun 18, 2026
Comment thread .github/workflows/check-go-version.yml Outdated
@github-actions github-actions Bot removed the input required Derived from whether the last interaction was Claude-authored. Do not set by hand label Jun 18, 2026
The scheduled Go version checker now opens a claude-labelled issue
requesting the bump rather than building the branch, commit, and PR
itself. The autonomous Claude agent produces the actual PR, which is
less brittle than scripting git/gh in the workflow.

Drops the contents/pull-requests write permissions in favour of
issues: write, and updates the CLAUDE.md invariant to match.
@github-actions github-actions Bot added the input required Derived from whether the last interaction was Claude-authored. Do not set by hand label Jun 18, 2026
@herve-quiroz
herve-quiroz merged commit 6b36004 into main Jun 19, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude Ticket that should be handled by Claude input required Derived from whether the last interaction was Claude-authored. Do not set by hand

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant