fix(ci): run CI only for pull requests
Merged
MI
2mo ago+0+0+0123456789-3-3-0123456789
Summary
- stop running the full CI workflow again after every merge to main
- keep pull request CI unchanged
- preserve workflow_dispatch for trusted external-contributor handoff runs
This removes the main push trigger introduced in #2671. Shared protocol changes can activate every SDK filter, so merges such as #2790 repeated the complete test matrix after it had already passed on the PR.
Test plan
actionlint -ignore SC2046 .github/workflows/ci.ymlgit diff --check
Summary by cubic
Stop running the CI workflow on pushes to main to avoid duplicate runs after merges; keep CI behavior for pull requests and manual dispatches unchanged.
- Removes the
pushtrigger onmain; retainspull_requestandworkflow_dispatch(withpull_request_numberinput) for trusted handoffs. - Pushes to
mainno longer run CI. If any branch protection requires push-based checks, update it to rely on PR-based statuses.