Skip to content

Commit c9797a4

Browse files
wikkykclaude
andcommitted
ci(test): drop unnecessary GITHUB_TOKEN from SonarQube steps
The sonarqube-scan-action only requires SONAR_TOKEN for authentication. GITHUB_TOKEN is not used by the action. Co-authored-by: Claude <noreply@anthropic.com>
1 parent 6092987 commit c9797a4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,10 @@ jobs:
3030
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
3131
-Dsonar.scm.revision=${{ github.event.pull_request.head.sha }}
3232
env:
33-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3433
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
3534

3635
- name: SonarQube
3736
if: github.event_name == 'push'
3837
uses: SonarSource/sonarqube-scan-action@299e4b793aaa83bf2aba7c9c14bedbb485688ec4 # v7.1.0
3938
env:
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4139
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)