Skip to content

feat: trigger create_release_pr on RC release branches - #1906

Merged
piontec merged 2 commits into
mainfrom
add-rc-release-tokens
Jun 10, 2026
Merged

feat: trigger create_release_pr on RC release branches#1906
piontec merged 2 commits into
mainfrom
add-rc-release-tokens

Conversation

@piontec

@piontec piontec commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

What

Adds release-candidate bump tokens to the create_release_pr.yaml template's push triggers for the main, master, and release bases:

  • <base>#release#major-rc
  • <base>#release#minor-rc
  • <base>#release#patch-rc
  • <base>#release#rc
  • <base>#release#rc-release

Why

Repos generated by devctl never start a release PR when an RC branch like main#release#minor-rc is pushed, because the template only listed the stable major/minor/patch tokens. As a result RC releases couldn't be cut the same way stable ones are.

The explicit-version and maintenance-branch patterns are intentionally left unchanged — their v*.*.* globs already match RC versions such as v2.1.0-rc.1.

Following repo convention, this changes the template + CHANGELOG only; the .sha sidecar and the regenerated zz_generated.* files are updated separately by the automated "Align files" runs.

Related

Requires the matching reusable-workflow support (RC handling in create-release-pr.yaml, validate-changelog.yaml, and create-release.yaml): giantswarm/github-workflows#195

Verified end-to-end against giantswarm/release-test-app: pushing main#release#rc opened a correctly-titled chore(release): v2.1.0-rc.2 PR, the changelog check passed, and on merge the release was tagged and published as a GitHub pre-release.

🤖 Generated with Claude Code

Add release-candidate bump tokens (major-rc, minor-rc, patch-rc, rc,
rc-release) to the create_release_pr.yaml template push triggers for the
main, master and release bases. Without these, repos generated by devctl
never start a release PR when an RC branch like main#release#minor-rc is
pushed, so RC releases couldn't be cut the way stable ones are.

Explicit-version and maintenance-branch patterns are unchanged: their
'v*.*.*' globs already match RC versions such as v2.1.0-rc.1.

Requires the matching reusable-workflow support in
giantswarm/github-workflows#195.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@piontec
piontec requested a review from a team as a code owner June 3, 2026 14:28
@piontec piontec changed the title gen workflows: trigger create_release_pr on RC release branches feat: trigger create_release_pr on RC release branches Jun 3, 2026
@piontec
piontec merged commit 9731fd5 into main Jun 10, 2026
5 checks passed
@piontec
piontec deleted the add-rc-release-tokens branch June 10, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants