Skip to content

ci: disable rebase-stack workflow in favor of gh native stack#443

Merged
behinddwalls merged 2 commits into
mainfrom
preetam/gh-native-stack
Jul 24, 2026
Merged

ci: disable rebase-stack workflow in favor of gh native stack#443
behinddwalls merged 2 commits into
mainfrom
preetam/gh-native-stack

Conversation

@behinddwalls

@behinddwalls behinddwalls commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

Why?

We are moving stacked-PR management to GitHub's native stacked PR support. The custom rebase-stack workflow (which auto-rebases and retargets child PRs when a stacked PR merges) is no longer the intended mechanism, so it should stop running.

What?

Gates the rebase-stack job with if: false rather than deleting the workflow, so it never runs on PR merge while the file — including its full design docs and security setup — is preserved. Re-enabling is a one-line revert: restore the condition to github.event.pull_request.merged == true.

The workflow is not a required check, and the only other references are documentation/allowlist entries in .github/zizmor.yml that remain valid since the file stays in place.

Note: this workflow is the sole owner of merged-head-branch deletion and requires the repo setting "Automatically delete head branches" to be OFF. With it disabled, re-enable that repo setting to restore branch cleanup.

## Summary

### Why?

We are moving stacked-PR management to GitHub's native stacked PR support. The custom `rebase-stack` workflow (which auto-rebases and retargets child PRs when a stacked PR merges) is no longer the intended mechanism, so it should stop running.

### What?

Gates the `rebase-stack` job with `if: false` rather than deleting the workflow, so it never runs on PR merge while the file — including its full design docs and security setup — is preserved. Re-enabling is a one-line revert: restore the condition to `github.event.pull_request.merged == true`.

The workflow is not a required check, and the only other references are documentation/allowlist entries in `.github/zizmor.yml` that remain valid since the file stays in place.

Note: this workflow is the sole owner of merged-head-branch deletion and requires the repo setting "Automatically delete head branches" to be OFF. With it disabled, re-enable that repo setting to restore branch cleanup.
@behinddwalls
behinddwalls marked this pull request as ready for review July 24, 2026 22:09
@behinddwalls
behinddwalls requested a review from a team as a code owner July 24, 2026 22:09
@behinddwalls
behinddwalls merged commit 9ea5931 into main Jul 24, 2026
14 checks passed
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