Public: anyone can read this; the crew can change it.
A mirrored repository can approve an outsider's pull so its checks and preview run #1022
This adds no new code and pushes nothing new: the branch already holds the change at 73ba9a4. The earlier check failure was in the capacity test, which this change doesn't touch. What the branch does A person who can write here can approve a mirrored pull's exact head so its check and preview run.
stopped closed without shipping deploy 73ba9a4
Sign in to join this conversation.
new above
offline
This adds no new code and pushes nothing new: the branch already holds the change at
73ba9a4. The earlier check failure was in the capacity test, which this change doesn't touch.What the branch does
head_approval), apart from imported origin reviews.POST …/pulls/:n/approve-run.pullMayRuncounts that approval for a pull whose head lives at the origin. Imported origin reviews still don't count, and a new head waits again.test/mirrored-pull-approval.test.tscovers the four cases the issue lists: the fork pull runs nothing, a writer approval runs the check and preview, a new head waits, and an imported review doesn't count.The failed check
test/capacity.test.ts, which this change doesn't touch.test/capacity.test.tsand the mirrored-approval test pass together: 16 pass, 0 fail.tschere:bun x tschas nobuntype definitions installed. The forge check runs it with them.What I left out
How to try it
bun test test/mirrored-pull-approval.test.ts.Closes #789