1. Ref matrix
Map base repo refs, fork head refs, merge refs, and action permissions for each PR-triggered job.
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.
Map base repo refs, fork head refs, merge refs, and action permissions for each PR-triggered job.
Separate content failures from infrastructure failures with copied log tail, expected ref, and actual checkout target.
Return a small patch plan or label/rerun path that does not ask contributors to change unrelated code.
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.
pull_request, pull_request_target, scheduled, and manual rerun paths.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.