Run dependency review for pull requests only (#21432)
Cole Miller
created
This was an oversight in the original PR, dependency-review-action won't
work properly for `push` events
([example](https://github.com/zed-industries/zed/actions/runs/12130053580/job/33819624076)).
Release Notes:
- N/A