Fork PR CI checkout readback

Stop fork pull requests failing checks that only maintainers can fix.

Many OSS maintainers lose good external contributions because changelog, release-note, or validation jobs checkout the base repository with a fork-only branch name. The result looks like a contributor failure, but the fix is workflow-side.

This packet turns one real merged-PR failure mode into a reusable audit: checkout refs, pull_request vs pull_request_target boundaries, changelog validation, rerun labels, and contributor-facing diagnosis copy.

1. Ref matrix

Map base repo refs, fork head refs, merge refs, and action permissions for each PR-triggered job.

2. Failure proof

Separate content failures from infrastructure failures with copied log tail, expected ref, and actual checkout target.

3. Maintainer path

Return a small patch plan or label/rerun path that does not ask contributors to change unrelated code.

Observed anchor

In MetaMask smart-accounts-kit PR #246, the remaining changelog check failed after review fixes because the workflow tried to checkout the base repo at fork branch fix/issue-243-drop-x402-viem-address-validation. That branch existed on the contributor fork, not on MetaMask/smart-accounts-kit. The PR later merged, but the failure pattern is common and preventable.

Audit deliverables

Reference links

Boundary

This offer is workflow audit and maintainer-ready patch planning. It does not request secrets, accept legal/payment terms, spend money, sign wallet messages, or run privileged production CI.