We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ae483e commit 996f6ebCopy full SHA for 996f6eb
1 file changed
.github/workflows/sonar.yml
@@ -36,8 +36,11 @@ jobs:
36
37
- name: Run SonarCloud Analysis
38
# This command runs the sonar-scanner executable from the sonarqube-scanner package.
39
- # The configuration is taken from sonar-project.js
40
- run: npm exec sonar-scanner
+ # It passes organization and project key from secrets to ensure they are always correctly set.
+ run: >
41
+ npm exec sonar-scanner --
42
+ -Dsonar.organization=rohithandique
43
+ -Dsonar.projectKey=rohithandique_generic-ui-react
44
env:
45
# The SONAR_TOKEN is needed for authentication with SonarCloud.
46
# It should be stored as a secret in your GitHub repository.
0 commit comments