Skip to content

Commit 59d8b0f

Browse files
Update sonarcloud.yml
1 parent d602ae6 commit 59d8b0f

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/sonarcloud.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,19 @@ jobs:
6969
# run: mvn -B clean install --file pom.xml -Pcoverage
7070
run: mvn clean install --file pom.xml -Pcoverage -e -X sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${{ secrets.SONAR_TOKEN }} -Dsonar.projectKey=mastodon-sc_mastodon-deep-lineage -Dsonar.organization=mastodon-sc
7171

72-
- name: Analyze with SonarCloud
72+
# - name: Analyze with SonarCloud
7373
# You can pin the exact commit or the version.
74-
uses: SonarSource/sonarcloud-github-action@master
75-
env:
76-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information
77-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Generate a token on Sonarcloud.io, add it to the secrets of this repo with the name SONAR_TOKEN (Settings > Secrets > Actions > add new repository secret)
78-
with:
74+
# uses: SonarSource/sonarcloud-github-action@master
75+
# env:
76+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information
77+
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Generate a token on Sonarcloud.io, add it to the secrets of this repo with the name SONAR_TOKEN (Settings > Secrets > Actions > add new repository secret)
78+
# with:
7979
# Additional arguments for the sonarcloud scanner
80-
args:
80+
# args:
8181
# Unique keys of your project and organization. You can find them in SonarCloud > Information (bottom-left menu)
8282
# mandatory
83-
-Dsonar.projectKey=mastodon-sc_mastodon-deep-lineage
84-
-Dsonar.organization=mastodon-sc
83+
# -Dsonar.projectKey=mastodon-sc_mastodon-deep-lineage
84+
# -Dsonar.organization=mastodon-sc
8585
# Comma-separated paths to directories containing main source files.
8686
#-Dsonar.sources= # optional, default is project base directory
8787
# When you need the analysis to take place in a directory other than the one from which it was launched

0 commit comments

Comments
 (0)