- ALM used: GitHub
- CI system used: GitHub Actions
- Scanner command: dotnet
- Languages of the repository: c#
I am getting an error when I push my branch “This analysis will make your organization ‘myorg’ to reach the maximum allowed lines limit (having 231282 lines). \nPlease contact the administrator of the organization to resolve this issue”
however, when I look at my account, I see that I have only used 100,000 lines of my 200,000 line limit, not to mention that this branch that I pushed, only has a change to my github actions workflow, so no new lines of code should have been analyzed.
my github actions workflow runs the following command to use sonar
- name: Install SonarScanner
run: dotnet tool install --global dotnet-sonarscanner --version 8.0.2
- name: Enable SonarScanner
run: |
dotnet-sonarscanner begin -d:sonar.qualitygate.wait=true \
-k:"$SONAR_PROJECT_KEY" \
-o:"omne" \
-d:sonar.token="${{ secrets.SONAR_TOKEN }}" \
-d:sonar.scanner.scanAll="true" \
-d:sonar.host.url="https://sonarcloud.io"
- run: dotnet build --no-restore --configuration Release
- name: Post-process SonarScanner™ results & upload to SonarQube™ Cloud™
run: dotnet-sonarscanner end -d:sonar.token="${{ secrets.SONAR_TOKEN }}"