diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index 7551702f..5db3ea2f 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -43,6 +43,7 @@ jobs: sonar-scanner \ --define sonar.host.url=$SONAR_SERVER_URL \ --define sonar.projectKey=$SONAR_PROJECT_KEY \ + --define sonar.projectVersion=${{ inputs.branch }} \ --define sonar.organization=$SONAR_ORGANIZATION \ --define sonar.scm.provider=git \ --define sonar.sourceEncoding=UTF-8 \