From 869f508fd5ea48c46f48ec427a688556ad7d994f Mon Sep 17 00:00:00 2001 From: Maximilian Linhoff Date: Wed, 10 Jul 2024 09:41:54 +0200 Subject: [PATCH] Need to use ${{ env.VARIABLE }} in sonar config --- .github/workflows/sonar.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 89849c2fc56..e31507b0662 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -66,6 +66,6 @@ jobs: with: args: > -Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} - -Dsonar.pullrequest.key=${PR_NUMBER} - -Dsonar.pullrequest.branch=${SOURCE_BRANCH} - -Dsonar.pullrequest.base=${TARGET_BRANCH} + -Dsonar.pullrequest.key=${{ env.PR_NUMBER }} + -Dsonar.pullrequest.branch=${{ env.SOURCE_BRANCH }} + -Dsonar.pullrequest.base=${{ env.TARGET_BRANCH }}