Skip to content

Commit ae2bd6f

Browse files
authored
update sonar token on code_coverage workflow (#2005)
1 parent 64e97d9 commit ae2bd6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/code_coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
uses: SonarSource/sonarqube-scan-action@master
138138
env:
139139
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
140-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
140+
SONAR_TOKEN: ${{ secrets[format('{0}', vars.SONAR_TOKEN_SECRET_NAME)] }}
141141
with:
142142
args: >
143143
-Dsonar.projectKey=${{ env.REPO_OWNER }}_${{ env.REPO_NAME }}

0 commit comments

Comments
 (0)