Skip to content

Commit 626fd8c

Browse files
committed
chore: use sonar.token instead of deprecated sonar.login in Maven settings
See https://community.sonarsource.com/t/sonar-login-is-deprecated-and-will-be-removed-in-the-future/137134.
1 parent b86e647 commit 626fd8c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/analyze.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Analyze
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40-
SONAR_LOGIN: ${{ secrets.SONAR_LOGIN }}
40+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4141
run: 'mvn --settings .mvn/settings.xml -B -P analyze verify sonar:sonar'
4242

4343
codeql:

.mvn/settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<activeByDefault>true</activeByDefault>
1111
</activation>
1212
<properties>
13-
<sonar.login>${env.SONAR_LOGIN}</sonar.login>
13+
<sonar.token>${env.SONAR_TOKEN}</sonar.token>
1414
</properties>
1515
</profile>
1616
</profiles>

0 commit comments

Comments
 (0)