Summary
Create an automated pipeline that periodically checks for new Go versions and opens PRs to bump the Go toolchain.
Architecture
Weekly Cron (GitHub Actions)
→ Check MCR for new Go patch versions
→ If newer version found:
→ Create a GitHub Issue with version details, SHAs, file list
→ Assign to Copilot coding agent
→ Copilot agent picks up the issue:
→ Creates branch
→ Updates all version files
→ Runs `make dockerfiles`
→ Opens PR
Components
1. Scheduled GitHub Actions Workflow
File: .github/workflows/go-version-check.yml
- Trigger: Weekly cron + manual
workflow_dispatch
- Logic:
- Query MCR for latest Go patch in current minor series (e.g., 1.26.x)
- Compare against current version in
build/images.mk
- If newer → get SHAs via
skopeo inspect
- Create GitHub Issue with structured body (version, SHAs, file checklist)
- Label issue for Copilot agent pickup
2. Copilot Agent Instructions
Update .github/copilot-instructions.md with Go version update procedure:
- Reference file list and update order
- Step-by-step: update
images.mk → make dockerfiles → manual files → go mod tidy
3. Issue Template
File: .github/ISSUE_TEMPLATE/go-version-bump.yml
- Structured template for Go version bump issues
- Pre-filled with file checklist and SHA commands
Files to Update
Acceptance Criteria
Summary
Create an automated pipeline that periodically checks for new Go versions and opens PRs to bump the Go toolchain.
Architecture
Components
1. Scheduled GitHub Actions Workflow
File:
.github/workflows/go-version-check.ymlworkflow_dispatchbuild/images.mkskopeo inspect2. Copilot Agent Instructions
Update
.github/copilot-instructions.mdwith Go version update procedure:images.mk→make dockerfiles→ manual files →go mod tidy3. Issue Template
File:
.github/ISSUE_TEMPLATE/go-version-bump.ymlFiles to Update
.github/workflows/go-version-check.yml(new).github/copilot-instructions.md(update with Go bump procedure).github/ISSUE_TEMPLATE/go-version-bump.yml(new)Acceptance Criteria
workflow_dispatchworks for on-demand checks