Skip to content

Commit 3116c51

Browse files
committed
ci(build.yml): gate dependency review on PRs only
Signed-off-by: Vaughn Dice <[email protected]>
1 parent adc1329 commit 3116c51

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)