What
When Claude Code acts on a pull request through gh, GitHub's command-line tool, the result can now say that nothing happened.
- The result gains an optional
changedfield. It is false whenghanswered that it had nothing to do, for example because the PR was already merged, queued, closed, open, ready or draft. It is absent otherwise. - The part that reads git and
ghoutput now marks such a PR aschanged = false. - That same reader now goes through each detected branch action, such as a merge or a rebase, using a shared helper. Before, it had separate fixed checks for merge and rebase.
Why
A request to merge or close a PR that was already in that state no longer looks like a completed action. PR and branch summaries in Claude Code's output may show this difference.