in ci/cd, do not run security checks if PRs do not change dependencies #48
This commit is contained in:
1
.github/workflows/security-checks.yaml
vendored
1
.github/workflows/security-checks.yaml
vendored
@@ -3,6 +3,7 @@ name: Security checks
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
paths: [ '/package.json', '/package-lock.json' ] # Allow PRs to be green if they do not introduce dependency change
|
||||
schedule:
|
||||
- cron: '0 0 * * 0'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user