Skip to content

workflows: default to trunk merge for backport auto-merge#167546

Merged
trunk-io[bot] merged 1 commit into
cockroachdb:masterfrom
rafiss:auto-merge-trunk-branches
Apr 6, 2026
Merged

workflows: default to trunk merge for backport auto-merge#167546
trunk-io[bot] merged 1 commit into
cockroachdb:masterfrom
rafiss:auto-merge-trunk-branches

Conversation

@rafiss

@rafiss rafiss commented Apr 5, 2026

Copy link
Copy Markdown
Collaborator

Previously, the auto-merge workflow maintained an allowlist of
trunk-enabled branches, which required updating every time a new
release branch was cut. This caused auto-merge failures on newer
branches like release-25.4, release-26.1, and release-26.2 because
the GITHUB_TOKEN lacks permission to push directly to protected
branches.

Invert the logic to use a blocklist of known non-trunk branches
instead, so new release branches default to using /trunk merge.

Epic: none
Release note: None

@rafiss rafiss requested a review from a team as a code owner April 5, 2026 05:40
@trunk-io

trunk-io Bot commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

😎 Merged directly without going through the merge queue, as the queue was empty and the PR was up to date with the target branch - details.

@cockroach-teamcity

Copy link
Copy Markdown
Member

This change is Reviewable

Previously, the auto-merge workflow maintained an allowlist of
trunk-enabled branches, which required updating every time a new
release branch was cut. This caused auto-merge failures on newer
branches like release-25.4, release-26.1, and release-26.2 because
the GITHUB_TOKEN lacks permission to push directly to protected
branches.

Invert the logic to use a blocklist of known non-trunk branches
instead, so new release branches default to using `/trunk merge`.

Epic: none
Release note: None

Co-Authored-By: roachdev-claude <roachdev-claude-bot@cockroachlabs.com>
@rafiss rafiss force-pushed the auto-merge-trunk-branches branch from 6925740 to 899d1e6 Compare April 5, 2026 05:41
@rafiss rafiss changed the title ci: default to trunk merge for backport auto-merge workflows: default to trunk merge for backport auto-merge Apr 5, 2026
@rafiss

rafiss commented Apr 6, 2026

Copy link
Copy Markdown
Collaborator Author

Made this change since these weren't able to be auto-merged:
#167480
#167481
#167482

@rudrakshsisodia

Copy link
Copy Markdown
Contributor

LGTM!

@rafiss

rafiss commented Apr 6, 2026

Copy link
Copy Markdown
Collaborator Author

TFTR!

/trunk merge

@trunk-io trunk-io Bot merged commit c133763 into cockroachdb:master Apr 6, 2026
25 checks passed
@rafiss rafiss deleted the auto-merge-trunk-branches branch April 17, 2026 13:44
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.

3 participants