Skip to content

Commit a20037b

Browse files
Enhance SonarQube scan configuration in code quality workflow
- Added arguments to the SonarQube scan action to specify the organization and enable verbose output. - Ensured that the workflow continues to utilize a full fetch depth for better analysis relevance. These changes improve the integration with SonarQube, enhancing the quality analysis process.
1 parent 6594469 commit a20037b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/code-quality.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,17 @@ jobs:
2626
- name: Checkout code
2727
uses: actions/checkout@v4
2828
with:
29-
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
29+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
3030
- name: Install dependencies
3131
run: cd workers/main && npm install
3232
- name: Run tests with coverage
3333
run: cd workers/main && npm run coverage
3434
- name: Run SonarQube scan
3535
uses: SonarSource/sonarqube-scan-action@v6
36+
with:
37+
args: >
38+
-Dsonar.organization: automatization-bot
39+
-Dsonar.verbose: true
3640
env:
3741
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
3842

0 commit comments

Comments
 (0)