Skip to content

Commit

Permalink
Merge pull request #2008 from carolynvs/skip-scan-for-docs
Browse files Browse the repository at this point in the history
Skip security scan when a PR is only doc changes
  • Loading branch information
carolynvs authored Apr 6, 2022
2 parents 00e7f8d + 44877fe commit 39a5cbe
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/security-scan.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
name: Security Scan
on: [push,pull_request]
on:
# always do a security scan when a change is merged
push: {}
# Only do a security scan on a PR when there are non-doc changes to save time
pull_request_target:
paths-ignore:
- 'docs/**'

jobs:
scan:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 39a5cbe

Please sign in to comment.