Skip to content

Commit b53b2c0

Browse files
authored
Run dependency review for pull requests only (#21432)
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
1 parent e1c509e commit b53b2c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ jobs:
114114
script/generate-licenses /tmp/zed_licenses_output
115115
116116
- name: Check for new vulnerable dependencies
117+
if: github.event_name == 'pull_request'
117118
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4
118119
with:
119120
license-check: false

0 commit comments

Comments
 (0)