kubernetes-sigs/cluster-api

Automate Go patch version bumps

Aberta

#11.224 aberto em 25 de set. de 2024

 (11 comentários) (0 reação) (1 responsável)Go (1.532 forks)auto 404
area/cihelp wantedkind/featurelifecycle/frozenpriority/backlogtriage/accepted

Métricas do repositório

Stars
 (4.267 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador