Skip to content

Commit d1aaad6

Browse files
Add sonar.projectKey to SonarQube workflow
Added sonar.projectKey argument to checkout step.
1 parent 4b0ad08 commit d1aaad6

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/sonarqube.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616
with:
17-
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
17+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
18+
args: >
19+
-Dsonar.projectKey=ComputerScienceHouse_audiophiler_abf74f4d-218d-4ab2-938b-cde83b7e1800
20+
1821
- uses: SonarSource/sonarqube-scan-action@v6
1922
env:
2023
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2124
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
22-
args: >
23-
-Dsonar.projectKey=ComputerScienceHouse_audiophiler_abf74f4d-218d-4ab2-938b-cde83b7e1800

0 commit comments

Comments
 (0)