Skip to content

Commit 9f6afcd

Browse files
authored
Merge pull request #2450 from vdice/ci/dep-review-only-if-pr
ci(build.yml): gate dependency review on PRs only
2 parents adc1329 + 3116c51 commit 9f6afcd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
dependency-review:
2828
name: Review new dependencies for known vulnerabilities
2929
runs-on: "ubuntu-20.04"
30+
if: ${{ github.event_name == 'pull_request' }}
3031
steps:
3132
- name: 'Checkout Repository'
3233
uses: actions/checkout@v4

0 commit comments

Comments
 (0)