Skip to content

Commit

Permalink
Need to use ${{ env.VARIABLE }} in sonar config
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnoe committed Jul 10, 2024
1 parent b678834 commit 869f508
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 869f508

Please sign in to comment.