Skip to content

Commit 37e1466

Browse files
authored
Merge pull request #18 from nodejs/mhdawson-patch-1
chore: update to include nvd key
2 parents 04824a6 + 44cd6ee commit 37e1466

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/check-vulns.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ 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:
@@ -39,7 +42,7 @@ jobs:
3942
run: |
4043
(
4144
set -o pipefail
42-
python main.py --gh-token ${{ secrets.GITHUB_TOKEN }} 2>&1 | tee result.log
45+
python main.py --gh-token ${{ secrets.GITHUB_TOKEN }} --nvd-key={{ secrets.NVD_API_KEY }} 2>&1 | tee result.log
4346
)
4447
- name: collect error
4548
id: collect_error

0 commit comments

Comments
 (0)