Skip to content

Commit

Permalink
updated sonarcloud.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Nov 19, 2024
1 parent bee7151 commit 99569d3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/sonarcloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ on:
# - reopened
workflow_call:
secrets:
GH_TOKEN:
required: false
# not needed, would clash with system reserved name
#GITHUB_TOKEN:
# required: false
SONAR_TOKEN:
required: true
workflow_dispatch:
Expand All @@ -64,5 +65,5 @@ jobs:
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} # Needed to get PR information, if any
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit 99569d3

Please sign in to comment.