Skip to content

Commit 26c5d0b

Browse files
authored
Merge pull request #1721 from finos/cve-scan
Update cve-scanning.yml
2 parents 92016b2 + c58d516 commit 26c5d0b

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/cve-scanning.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,9 @@ jobs:
4343
- run: npm install
4444
working-directory: website
4545

46-
- run: npx --yes auditjs ossi --whitelist allow-list.json
47-
env:
48-
OSS_INDEX_USERNAME: ${{ secrets.OSS_INDEX_USERNAME }}
49-
OSS_INDEX_PASSWORD: ${{ secrets.OSS_INDEX_TOKEN }}
46+
- run: npx --yes auditjs ossi --whitelist allow-list.json -u ${{ secrets.OSS_INDEX_USERNAME }} -p ${{ secrets.OSS_INDEX_TOKEN }}
5047
if: success() || failure()
5148

52-
- run: npx --yes auditjs ossi --whitelist ../allow-list.json
49+
- run: npx --yes auditjs ossi --whitelist ../allow-list.json -u ${{ secrets.OSS_INDEX_USERNAME }} -p ${{ secrets.OSS_INDEX_TOKEN }}
5350
working-directory: website
54-
env:
55-
OSS_INDEX_USERNAME: ${{ secrets.OSS_INDEX_USERNAME }}
56-
OSS_INDEX_PASSWORD: ${{ secrets.OSS_INDEX_TOKEN }}
5751
if: success() || failure()

0 commit comments

Comments
 (0)