Commit aae264c
authored
Only run suggest-reviewers on PR open, not on every push (#4791)
## Why
The `suggest-reviewers` action was re-triggering on every push to an
open PR because the `synchronize` event type was included. This caused
unnecessary re-runs after the PR was already reviewed/approved.
## Changes
Remove the `synchronize` trigger type from the workflow. The action now
only runs on `opened` and `ready_for_review` events, so it fires once
when a PR is created (or when a draft is marked ready) and never re-runs
on subsequent pushes.
## Test plan
- Verified the workflow YAML is valid.
- The existing `if: !github.event.pull_request.draft` guard still
correctly skips draft PRs.1 parent a2e290d commit aae264c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments