From c690d224c962fa35249c5990d508168e2ad077b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Thu, 19 Feb 2026 16:15:15 +0100 Subject: [PATCH] Update .drone.yml --- .drone.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.drone.yml b/.drone.yml index 6f07116..2a6ccaa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,6 +24,9 @@ steps: # check maven dependencies - name: dependency-check + when: + event: + - push image: maven:3-eclipse-temurin-21 commands: - mvn dependency-check:check --no-transfer-progress -B -V -DnvdApiKey=$NVD_API_KEY @@ -33,6 +36,9 @@ steps: # run code analysis - name: code-analysis + when: + event: + - push image: maven:3-eclipse-temurin-21 commands: - mvn sonar:sonar --no-transfer-progress -Dsonar.projectKey=$SONAR_PROJECT_KEY -Dsonar.host.url=$SONAR_INSTANCE_URL -Dsonar.token=$SONAR_LOGIN_KEY -B -V