Skip to content

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

Open
rafiss wants to merge 1 commit intocockroachdb:masterfrom
rafiss:auto-merge-trunk-branches
Open

workflows: default to trunk merge for backport auto-merge#167546
rafiss wants to merge 1 commit intocockroachdb:masterfrom
rafiss:auto-merge-trunk-branches

Conversation

@rafiss
Copy link
Copy Markdown
Collaborator

@rafiss rafiss commented Apr 5, 2026

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
Copy link
Copy Markdown
Contributor

trunk-io bot commented Apr 5, 2026

Merging to master in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@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
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