kubernetes-sigs/cluster-api

Automate Go patch version bumps

Aperta

#11.224 aperta il 25 set 2024

 (11 commenti) (0 reazioni) (1 assegnatario)Go (1532 fork)auto 404
area/cihelp wantedkind/featurelifecycle/frozenpriority/backlogtriage/accepted

Metriche repository

Star
 (4267 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor