Skip to content

[Buildkite] Fix 404 on fork PRs: omit pull_request_repository for forks - #1056

Merged
pickypg merged 1 commit into
mainfrom
buildkite-fix-take-2
Sep 21, 2026
Merged

pickypg merged 1 commit into
mainfrom
buildkite-fix-take-2

Conversation

@pickypg

@pickypg pickypg commented Sep 21, 2026

Copy link
Copy Markdown
Member

Buildkite returns 404 when pull_request_repository is a fork SSH URL it has no pipeline for. Same-repo PRs continue to pass the field (enabling immediate PR-to-build linking). Fork PRs omit it; Buildkite can still check out refs/pull//head from its configured base repo because GitHub creates that ref for all PRs including forks.

Buildkite returns 404 when pull_request_repository is a fork SSH URL
it has no pipeline for. Same-repo PRs continue to pass the field
(enabling immediate PR-to-build linking). Fork PRs omit it; Buildkite
can still check out refs/pull/<PR>/head from its configured base repo
because GitHub creates that ref for all PRs including forks.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pickypg pickypg self-assigned this Sep 21, 2026
@pickypg
pickypg requested a review from a team as a code owner September 21, 2026 19:09
@pickypg
pickypg merged commit b4d57cc into main Sep 21, 2026
6 of 7 checks passed
@pickypg
pickypg deleted the buildkite-fix-take-2 branch September 21, 2026 19:09
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