From 3df20d5a3eb11c77cb9cca1c09129084b8a23a95 Mon Sep 17 00:00:00 2001 From: Kiron Mirdha Date: Wed, 10 Jul 2024 16:42:11 +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