@@ -9,6 +9,7 @@ name: SonarCloud
99jobs :
1010 sonarcloud :
1111 runs-on : ubuntu-latest
12+ if : github.actor != 'dependabot' # Dependabot can't read the Sonarcloud secret
1213 steps :
1314 - uses : actions/checkout@v4
1415 with :
3031 C :
3132 name : C Code Coverage
3233 runs-on : ubuntu-22.04
34+ if : github.actor != 'dependabot' # Dependabot can't read the Sonarcloud secret
3335 steps :
3436 - uses : actions/checkout@v4
3537 with :
@@ -52,14 +54,14 @@ jobs:
5254 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5355 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN_C }}
5456 run : sonar-scanner
55- -X
56- -Dsonar.organization=swift-nav
57- -Dsonar.projectName=libsbp-c
58- -Dsonar.projectKey=swift-nav_libsbp_c
59- -Dsonar.verbose=true
60- -Dsonar.login=${{ secrets.SONAR_TOKEN_C }}
61- -Dsonar.cfamily.threads=4
62- -Dsonar.cfamily.llvm-cov.reportPath=./build/ccov/coverage.txt
63- -Dsonar.sources=c/src/,c/include/
64- -Dsonar.tests=c/test/
65- -Dsonar.cfamily.build-wrapper-output=./bw-output
57+ -X
58+ -Dsonar.organization=swift-nav
59+ -Dsonar.projectName=libsbp-c
60+ -Dsonar.projectKey=swift-nav_libsbp_c
61+ -Dsonar.verbose=true
62+ -Dsonar.login=${{ secrets.SONAR_TOKEN_C }}
63+ -Dsonar.cfamily.threads=4
64+ -Dsonar.cfamily.llvm-cov.reportPath=./build/ccov/coverage.txt
65+ -Dsonar.sources=c/src/,c/include/
66+ -Dsonar.tests=c/test/
67+ -Dsonar.cfamily.build-wrapper-output=./bw-output
0 commit comments