Skip to content

Commit

Permalink
Fix NVD API key usage
Browse files Browse the repository at this point in the history
  • Loading branch information
kiron-mx committed Jul 10, 2024
1 parent f7ce0b7 commit 3df20d5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,5 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Analyze dependencies
env:
NVD_API_KEY: ${{ secrets.NVD_TOKEN }}
# this will run the OWASP dependency checker only
run: mvn -B verify -DskipTests -DnvdApiKey=$NVD_API_KEY
run: mvn -B verify -DskipTests -DnvdApiKey=${{ secrets.NVD_TOKEN }}

0 comments on commit 3df20d5

Please sign in to comment.