Skip to content

Resolve real PR base ref for stacked PRs - #243

Merged
krzema12 merged 1 commit into
mainfrom
graphite-base-ref-workaround
Nov 21, 2026
Merged

krzema12 merged 1 commit into
mainfrom
graphite-base-ref-workaround

Conversation

@krzema12

@krzema12 krzema12 commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Graphite reports a synthetic graphite-base/<PR> branch as github.base_ref for stacked PRs. That branch does not exist on the remote, so Validate typings fails when it tries to fetch it to detect changed actions.

This PR resolves the real base branch through the GitHub API whenever github.base_ref has the graphite-base/ prefix. It is split out from #239 so the baseline change stays focused.

Copy link
Copy Markdown
Member Author

@krzema12
krzema12 force-pushed the graphite-base-ref-workaround branch from e9b46a4 to 19f4b62 Compare November 21, 2026 18:53
@krzema12
krzema12 enabled auto-merge (squash) November 21, 2026 18:53
@krzema12
krzema12 disabled auto-merge November 21, 2026 18:54
@krzema12
krzema12 merged commit cc39a4a into main Nov 21, 2026
4 checks passed
@krzema12
krzema12 deleted the graphite-base-ref-workaround branch November 21, 2026 18:54
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.

1 participant