-
-
Notifications
You must be signed in to change notification settings - Fork 1
Comparing changes
Open a pull request
base repository: boneskull/gh-stack
base: issue-79
head repository: boneskull/gh-stack
compare: main
- 12 commits
- 34 files changed
- 4 contributors
Commits on Apr 16, 2026
-
chore(deps): update step-security/harden-runner action to v2.18.0 (#93)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4e39826 - Browse repository at this point
Copy the full SHA 4e39826View commit details
Commits on Apr 18, 2026
-
Configuration menu - View commit details
-
Copy full SHA for da5df4f - Browse repository at this point
Copy the full SHA da5df4fView commit details -
fix(cmd): only push stack branches when submit will touch PRs (#89)
fix(cmd): defer submit push until PR intent is known Submit used to force-push every stack branch before the PR phase, so branches were published even when the user skipped opening a PR. Plan each branch first (GitHub adopt check, prompts, --update-only), then push only branches that will get PR work or must exist on the remote as a base for a descendant PR. PR execution reuses the plan. Add a unit test for ancestor push propagation on skip. Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Configuration menu - View commit details
-
Copy full SHA for 96fb5b9 - Browse repository at this point
Copy the full SHA 96fb5b9View commit details -
fix: rename cascade to restack more generally (#94)
`cascade` is still retained as an alias of `restack`. **WARNING**: This may invalidate in-progress cascade operations if you happen to upgrade `gh-stack` in the middle of one. Don't do that.
Configuration menu - View commit details
-
Copy full SHA for 115ce65 - Browse repository at this point
Copy the full SHA 115ce65View commit details -
chore(main): release 0.6.3 (#86)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3121da1 - Browse repository at this point
Copy the full SHA 3121da1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b93be0b - Browse repository at this point
Copy the full SHA b93be0bView commit details
Commits on Apr 19, 2026
-
BREAKING CHANGE: Some flags have changed. `restack`: `--only` is now `-c, --current`; `submit`: `--current-only` is now `-c, --current`, `--update-only` is now `-u, --update`, `--push-only` is now `-s, --skip-prs`, removed `-w` shorthand from `--web`. Other options have had shorthands added; see [README.md](https://github.com/boneskull/gh-stack/blob/main/README.md) for details.
Configuration menu - View commit details
-
Copy full SHA for 91a896d - Browse repository at this point
Copy the full SHA 91a896dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ea4291 - Browse repository at this point
Copy the full SHA 7ea4291View commit details -
Configuration menu - View commit details
-
Copy full SHA for 709f2e3 - Browse repository at this point
Copy the full SHA 709f2e3View commit details
Commits on Apr 20, 2026
-
fix(submit): only prompt to publish draft when base transitions to tr…
…unk (#100) * fix(submit): only prompt to publish draft when base transitions to trunk Resolves #95. Previously, `gh stack submit` would prompt to publish a draft PR every time it ran, as long as the PR was a draft and targeted trunk. This got annoying fast. The fix adds a `stackPRBase` key to `.git/config` (per branch) that persists the last-known remote base after each successful submit run. The publish prompt now fires only when the stored base differs from trunk — i.e., the PR's base is genuinely moving to trunk for the first time since the last submit. Cleanup is consistent: `unlink`, `orphan`, and sync's merged-branch handlers all clear `stackPRBase` alongside the other per-branch config keys. Sync's retarget-to-trunk path also persists the new base so subsequent submit runs don't re-prompt. * fix(submit): check trunk transition before persisting new PR base The `prActionUpdate` path in `executePRDecisions` was calling `SetPRBase` before `maybeMarkPRReady`, which meant `isTransitionToTrunk` always read the value we had just written (trunk) and returned false. The publish-draft prompt was therefore silently suppressed for all existing PRs transitioning to trunk. Fix: call `maybeMarkPRReady` first, then persist the new base. While here, move `GenerateAndPostStackComment` inside the success branch so it doesn't run when `UpdatePRBase` fails. Add `TestIsTransitionToTrunkOrderingInvariant` to document and guard the required call order.
Configuration menu - View commit details
-
Copy full SHA for c47ca16 - Browse repository at this point
Copy the full SHA c47ca16View commit details -
chore(main): release 1.0.0 (#101)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 17b3ac5 - Browse repository at this point
Copy the full SHA 17b3ac5View commit details -
chore(deps): update step-security/harden-runner action to v2.19.0 (#102)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3d7b65b - Browse repository at this point
Copy the full SHA 3d7b65bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff issue-79...main