← Back to Pull requests

chore(deps): update dependency github/gh-stack to v0.3.0 #301

Closed
unknown closed this pull request without merging on Nov 04, 2026 12:55 UTC
View on GitHub
unknown unknown commented on Nov 04, 2026 12:42 UTC
Author

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| github/gh-stack | minor | v0.1.1 → v0.3.0 |

---

Release Notes

<details>
<summary>github/gh-stack (github/gh-stack)</summary>

v0.3.0

Compare Source

gh-stack is a GitHub CLI extension for managing stacked branches and pull requests. Learn more about GitHub Stacked PRs here.

View the Quick Start guide to get started.

Install the extension with:

gh extension install github/gh-stack

Or upgrade to the latest version with:

gh extension upgrade stack

##### What's new in v0.3.0

##### Added

  • Clickable stack numbers: Stack numbers like #12 in command output and the interactive screens now link to the stack's page on GitHub.

  • Follow base branch changes from GitHub: When a stack's base branch is deleted (for example, after it merges), GitHub retargets the stack to a new base (the repo's default branch). gh stack sync and gh stack rebase now rebase your branches onto it. If the old base never merged, you'll be asked before its commits are dropped. To skip the question, pass the new --accept-base-change flag.
  • ##### Changed

  • Atomic pushes by default: gh stack push and gh stack submit now push all of your branches together, so either every branch updates or none do. To turn this off, use the new --no-atomic flag or set GH_STACK_NO_ATOMIC=1.

  • New GitHub look: gh stack now uses GitHub's brand colors. The full-screen view, modify, and submit screens also use a dark or light background. To turn off the background color, set the new GH_STACK_BACKGROUND environment variable to terminal.
  • ##### Fixed

  • Stacks with merged PRs: Fixed behavior of commands that would fail because unstacking does not removed merged PRs on GitHub. gh stack unstack now still removes the stack locally, and gh stack submit no longer fails after you change the stack with gh stack modify. The "keep local" option in sync and checkout also handles this correctly.

  • Rebasing after a PR merges: If your local copy of a branch is out of date, gh stack rebase and gh stack sync no longer replay already-merged commits, which could cause confusing conflicts. They now use the commit GitHub actually merged.
  • ##### Changelog

  • Fix unstack to handle partially merged stacks by @&#8203;skarim in #&#8203;574

  • Support modifying partially merged stacks by @&#8203;skarim in #&#8203;575

  • Handle partial unstacking in sync and checkout by @&#8203;skarim in #&#8203;576

  • Bump actions/setup-node from 7.0.0 to 7.1.0 by @&#8203;dependabot\[bot] in #&#8203;561

  • Bump the npm\_and\_yarn group across 1 directory with 2 updates by @&#8203;dependabot\[bot] in #&#8203;573

  • Bump github.com/cli/cli/v2 from 2.93.0 to 2.97.0 in the go\_modules group across 1 directory by @&#8203;dependabot\[bot] in #&#8203;565

  • Parallelize test suite to speed up CI by @&#8203;skarim in #&#8203;578

  • Reduce redundant Git and worktree lookups by @&#8203;skarim in #&#8203;579

  • Link to stack pages in output & TUIs by @&#8203;skarim in #&#8203;584

  • send pull.stacked option on force push by @&#8203;ktravers in #&#8203;562

  • Fix stale merged-PR rebase boundaries by @&#8203;skarim in #&#8203;586

  • Align theme with primer colors by @&#8203;skarim in #&#8203;589

  • Base retargeting support by @&#8203;skarim in #&#8203;590

  • Default to atomic git pushes by @&#8203;skarim in #&#8203;596
  • Full Diff: <https://github.com/github/gh-stack/compare/v0.2.1...v0.3.0>

    v0.2.1

    Compare Source

    ##### What's new in v0.2.1

    ##### Added

  • api_host support for custom API endpoints: gh-stack now honors the api_host field in your gh hosts.yml, letting you point a host's API requests at a custom endpoint — matching the behavior already supported by the gh CLI. This helps with proxied or non-standard GitHub host setups.
  • ##### Fixed

  • Repositories using a custom SSH host alias: Commands that need a GitHub client (such as gh stack submit) no longer fail with "none of the git remotes configured for this repository point to a known GitHub host" when origin uses a custom SSH alias — for example git@github.com-work:org/repo mapped to github.com via ~/.ssh/config. The alias is now expanded before remotes are matched to a known host.
  • ##### Changelog

  • Bump go-gh to v2.16.1 by @&#8203;ktravers in #&#8203;551

  • Bump source-map-js from 1.2.1 to 1.2.2 in /docs in the npm\_and\_yarn group across 1 directory by @&#8203;dependabot\[bot] in #&#8203;552

  • Fix repository recognition for SSH mapped configurations by @&#8203;williammartin in #&#8203;554
  • ##### New Contributors

  • @&#8203;ktravers made their first contribution in #&#8203;551

  • @&#8203;williammartin made their first contribution in #&#8203;554
  • Full Diff: <https://github.com/github/gh-stack/compare/v0.2.0...v0.2.1>

    v0.2.0

    Compare Source

    ##### What's new in v0.2.0

    ##### Added

  • Git worktree support: Stack tracking now belongs to the repository instead of the directory where you ran gh stack init. A single shared catalog (<common-dir>/gh-stack) is read by every command, so worktrees can hold independent stacks — or different branches of the same stack — without losing tracking when a checkout is removed. Existing per-directory tracking files are migrated automatically when their definitions agree or describe separate stacks (backups are preserved; conflicting definitions stop with guidance), and init / add can adopt a branch checked out in another worktree without switching either checkout. Catalog writes are now atomic, so a command can never read a half-written file.

  • Cross-worktree rebase, sync, and modify: These commands can now operate on a stack whose branches are spread across different worktrees — each change runs in the checkout that holds the branch, so you no longer need to gather the whole stack into one directory. Affected worktrees are checked for uncommitted files or unfinished Git operations before any branch is rewritten, conflicts are resolved in the named checkout, and --continue / --abort work from any worktree via a shared recovery record. Requires Git 2.36+; gh-stack never creates, removes, or auto-stashes worktrees.

  • Upgrade notifier: gh-stack now nudges you to upgrade when a newer stable release is available, pointing you to gh extension upgrade stack without upgrading automatically. The check runs in the background (never blocking a command), is cached and rate-limited to at most once every 24 hours, and leaves stdout, JSON output, and exit codes untouched. Set GH_STACK_NO_UPDATE_NOTIFIER=1 to disable it; local/development, prerelease, and pinned installs are excluded.
  • ##### Changelog

  • Add worktree-scoped Git execution by @&#8203;skarim in #&#8203;526

  • Add atomic stack storage and migration primitives by @&#8203;skarim in #&#8203;527

  • Share stack tracking across Git worktrees by @&#8203;skarim in #&#8203;528

  • Enable cross-worktree rebase and sync by @&#8203;skarim in #&#8203;529

  • Support modifying stacks across worktrees by @&#8203;skarim in #&#8203;521

  • Bump the npm\_and\_yarn group across 1 directory with 2 updates by @&#8203;dependabot\[bot] in #&#8203;500

  • Pin GitHub Actions to commit SHAs by @&#8203;github-security-bot in #&#8203;506

  • chore: add a structured bug report form by @&#8203;francisfuzz in #&#8203;536

  • fix: remove shell rendering from bug report inputs by @&#8203;francisfuzz in #&#8203;544

  • docs site redirects by @&#8203;skarim in #&#8203;543

  • Bump actions/deploy-pages from 4.0.5 to 5.0.1 by @&#8203;dependabot\[bot] in #&#8203;537

  • Bump actions/upload-pages-artifact from 3.0.1 to 5.0.0 by @&#8203;dependabot\[bot] in #&#8203;538

  • Bump actions/setup-node from 4.4.0 to 7.0.0 by @&#8203;dependabot\[bot] in #&#8203;539

  • Bump actions/checkout from 4.4.0 to 7.0.1 by @&#8203;dependabot\[bot] in #&#8203;540

  • Bump the npm\_and\_yarn group across 1 directory with 5 updates by @&#8203;dependabot\[bot] in #&#8203;541

  • Bump actions/setup-go from 6.5.0 to 7.0.0 by @&#8203;dependabot\[bot] in #&#8203;542

  • Notify users about new gh-stack releases by @&#8203;skarim in #&#8203;545
  • Full Diff: <https://github.com/github/gh-stack/compare/v0.1.1...v0.2.0>

    </details>

    ---

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    ♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.

    ---

    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

    ---

    This PR has been generated by Renovate Bot.
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45OS4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYnVpbGQ6ZGVwcyJdfQ==-->

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: pjbgf Review duration: 12m
    All Vouch review confidence checks passed
    Residual risk 0.23 = Change Risk (0.52) × (1 − Review Confidence (0.55)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 78% · Reviewer familiarity: 35%
    55%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #301"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 55.1% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 55.1% · Lower = rushed or shallow review
    55.1%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 23.3% · Safe to merge
    23.3%