The CI workflow used on: [push, pull_request], which fires two runs whenever a commit is pushed to a branch with an open PR — one for the push event and one for the pull_request event.
Scoped the push trigger to branches: [main] only. Feature-branch pushes now trigger only via pull_request; direct pushes to main (merge commits) still trigger via push.
Test plan
Open a PR and push a new commit — verify only one CI run appears, not two
Merge a PR to main — verify CI still runs via the push trigger
## Summary
- The CI workflow used `on: [push, pull_request]`, which fires **two** runs whenever a commit is pushed to a branch with an open PR — one for the `push` event and one for the `pull_request` event.
- Scoped the `push` trigger to `branches: [main]` only. Feature-branch pushes now trigger only via `pull_request`; direct pushes to `main` (merge commits) still trigger via `push`.
## Test plan
- [ ] Open a PR and push a new commit — verify only one CI run appears, not two
- [ ] Merge a PR to `main` — verify CI still runs via the `push` trigger
Closes #483
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
on: [push, pull_request], which fires two runs whenever a commit is pushed to a branch with an open PR — one for thepushevent and one for thepull_requestevent.pushtrigger tobranches: [main]only. Feature-branch pushes now trigger only viapull_request; direct pushes tomain(merge commits) still trigger viapush.Test plan
main— verify CI still runs via thepushtriggerCloses #483