add api key
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-09 11:17:30 +01:00
parent 35f52ec583
commit f523e6cd92
2 changed files with 5 additions and 1 deletions

View File

@@ -29,7 +29,10 @@ steps:
- name: dependency-check
image: maven:3-eclipse-temurin-21
commands:
- mvn dependency-check:check --no-transfer-progress -B -V
- mvn dependency-check:check --no-transfer-progress -B -V -DnvdApiKey=$NVD_API_KEY
environment:
NVD_API_KEY:
from_secret: nvd_api_key
# run code analysis
- name: code-analysis