mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-17 11:12:25 -04:00
A branch that lives in this repo fires both a push and a pull_request TS CI run for the same commit, and both report the TS CI / Success required check. Branch protection then sees two results for that context, so a cancellation or flake on the push side (e.g. two pushes racing on the test.yml concurrency group) blocks the PR even when the pull_request run passed. Restrict push CI to main so PR branches carry TS CI / Success only via their pull_request run (and the merge queue via merge_group). Since pull_request now covers every PR, run the build/test jobs on every pull_request (same-repo and fork) instead of relying on the push run, and drop the same-repo/fork/chore-lockfile gating that existed only to avoid duplicate push+pull_request builds. main stays covered pre-merge by merge_group and post-merge by the push run.