Skip to content

Commit ca31c78

Browse files
authored
Update codeql-analysis.yml
1 parent 82e7c50 commit ca31c78

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ jobs:
109109

110110
- name: 'Dependency Review'
111111
uses: actions/dependency-review-action@v2
112+
with:
113+
allow-licenses: MIT, Apache-2.0, ISC, BSD-2-Clause, 0BSD, NOASSERTION
114+
base-ref: ${{ github.event.pull_request.base.sha || 'main' }}
115+
head-ref: ${{ github.event.pull_request.head.sha || github.ref }}
112116

113117
- name: Scan the image and upload dependency results
114118
uses: anchore/sbom-action@v0

0 commit comments

Comments
 (0)