Switch SonarCloud to tokenless Automatic Analysis#13
Closed
PFalkowski wants to merge 1 commit into
Closed
Conversation
Remove the CI-based dotnet-sonarscanner workflow (sonar.yml) and its SONAR_TOKEN requirement. SonarCloud Automatic Analysis (enabled via the GitHub App in the web UI) supports C# with no workflow, no config file, and no secret -- matching the PFalkowski/LoggerLite setup. The two modes are mutually exclusive, so the CI scanner must not coexist with it. Coverage continues to be reported to Codecov from ci.yml. Docs updated (SONAR_SETUP.md, CHANGELOG.md). No code or package-version change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces the CI-based
dotnet-sonarscannerworkflow with SonarCloud Automatic Analysis — enabled via the SonarCloud GitHub App in the web UI, with noSONAR_TOKENsecret, no workflow file, and no config. This matches howPFalkowski/LoggerLiteis set up and removes the "secrets thingy".Changes
.github/workflows/sonar.yml(the CI scanner). Automatic Analysis and a CI scanner are mutually exclusive, so it must not coexist.SONAR_SETUP.mdfor the one-click, tokenless flow.CHANGELOG.mdwording.Unaffected
ci.yml.Refs #11.