From c8a8efbb25b3ee0cecbb0c34b9c1994fd89123ed Mon Sep 17 00:00:00 2001 From: Kiron Mirdha Date: Wed, 10 Jul 2024 15:03:56 +0200 Subject: [PATCH] Fix NVD API key usage --- .github/workflows/code-quality.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 6e76579..489ef10 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -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 \ No newline at end of file + run: mvn -B verify -DskipTests -DnvdApiKey=${{ secrets.NVD_TOKEN }} \ No newline at end of file