Skip to content

Auto-discover branches in sync-versions workflow#4625

Merged
caseydavenport merged 3 commits intotigera:masterfrom
caseydavenport:casey-sync-branch-discovery
Apr 2, 2026
Merged

Auto-discover branches in sync-versions workflow#4625
caseydavenport merged 3 commits intotigera:masterfrom
caseydavenport:casey-sync-branch-discovery

Conversation

@caseydavenport
Copy link
Copy Markdown
Member

The sync-versions workflow currently has a hardcoded branch matrix that needs updating every time we cut a new release branch. This replaces it with dynamic discovery via the GitHub API — it picks master + the two most recent release-* branches by semver automatically.

Same approach as projectcalico/api#120 and the corresponding calico PR.

Replace the hardcoded branch matrix with dynamic discovery via the
GitHub API. Picks master + the two most recent release branches by
semver, so the workflow doesn't need updating each release.
@caseydavenport caseydavenport merged commit 1552b25 into tigera:master Apr 2, 2026
6 checks passed
@caseydavenport caseydavenport deleted the casey-sync-branch-discovery branch April 2, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants