kubernetes-sigs/cluster-api

Automate Go patch version bumps

Open

#11,224 opened on Sep 25, 2024

View on GitHub
 (11 comments) (0 reactions) (1 assignee)Go (1,532 forks)auto 404
area/cihelp wantedkind/featurelifecycle/frozenpriority/backlogtriage/accepted

Repository metrics

Stars
 (4,267 stars)
PR merge metrics
 (PR metrics pending)

Description

I think it would be nice if we could automate Go patch version bumps on the main branch via a GitHub action.

Usually our Go patch version bump PR look like this: https://github.com/kubernetes-sigs/cluster-api/pull/11156

I would suggest to first get rid of the additional occurence of the Go version in the Tiltfile and then automate the bump for the Go version in the Makefile

The idea is roughly:

  • Add a weekly periodic GitHub action that:
    • checks if there is a new go patch version available for the minor verison we use
    • if yes, open a PR to bump that version

Example for an action that opens PRs: https://github.com/kubernetes-sigs/controller-tools/blob/main/.github/workflows/tools-releases.yml

/help /area ci /kind feature

Contributor guide