Skip to content

Commit 2148f92

Browse files
authored
chore: update to include nvd key
1 parent 04824a6 commit 2148f92

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/check-vulns.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ on:
66
nodejsStream:
77
type: string
88
default: 'main'
9+
secrets:
10+
NVD_API_KEY:
11+
required: true
912
workflow_dispatch:
1013
inputs:
1114
nodejsStream:
1215
type: string
1316
default: 'main'
17+
1418

1519

1620
permissions:
@@ -39,7 +43,7 @@ jobs:
3943
run: |
4044
(
4145
set -o pipefail
42-
python main.py --gh-token ${{ secrets.GITHUB_TOKEN }} 2>&1 | tee result.log
46+
python main.py --gh-token ${{ secrets.GITHUB_TOKEN }} --nvd-key={{ secrets.NVD_API_KEY }} 2>&1 | tee result.log
4347
)
4448
- name: collect error
4549
id: collect_error

0 commit comments

Comments
 (0)