Skip to content

Commit 14cd697

Browse files
committed
put username and password on command line
1 parent 18decce commit 14cd697

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/cve-scanning-node.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@ jobs:
3333
AUDITJS_OSS_INDEX_USERNAME: ${{ secrets.OSS_INDEX_USERNAME }}
3434
AUDITJS_OSS_INDEX_PASSWORD: ${{ secrets.OSS_INDEX_PASSWORD }}
3535
run: |
36+
echo "user $OSS_INDEX_USERNAME"
3637
npm ci
37-
npx --yes auditjs ossi --whitelist allow-list.json
38+
npx --yes auditjs ossi --whitelist allow-list.json -u $OSS_INDEX_USERNAME -p $OSS_INDEX_PASSWORD

0 commit comments

Comments
 (0)