Skip to content

Commit 9a7b394

Browse files
replace SONAR_TOKEN variable
1 parent a847af3 commit 9a7b394

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/call_code_review.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
shell: bash
4646
env:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4948
MODULE: "${{ inputs.module }}"
5049
SONAR_KEY: "${{ inputs.sonar_key }}"
5150
PR_NUMBER: "${{ inputs.pr_number }}"
@@ -54,7 +53,7 @@ jobs:
5453
run: mvn --projects :test-coverage --also-make verify -P"$MODULE",report,coverage
5554
-Dsonar.organization=pagopa
5655
-Dsonar.projectKey="$SONAR_KEY"
57-
-Dsonar.token="$SONAR_TOKEN"
56+
-Dsonar.token="${{ secrets.SONAR_TOKEN }}"
5857
-Dsonar.pullrequest.key="$PR_NUMBER"
5958
-Dsonar.pullrequest.branch="$SOURCE_BRANCH"
6059
-Dsonar.pullrequest.base=refs/remotes/origin/"$TARGET_BRANCH"

0 commit comments

Comments
 (0)