Skip to content

Switch SonarCloud to tokenless Automatic Analysis#13

Closed
PFalkowski wants to merge 1 commit into
masterfrom
chore/sonar-automatic-analysis
Closed

Switch SonarCloud to tokenless Automatic Analysis#13
PFalkowski wants to merge 1 commit into
masterfrom
chore/sonar-automatic-analysis

Conversation

@PFalkowski

Copy link
Copy Markdown
Owner

Summary

Replaces the CI-based dotnet-sonarscanner workflow with SonarCloud Automatic Analysis — enabled via the SonarCloud GitHub App in the web UI, with no SONAR_TOKEN secret, no workflow file, and no config. This matches how PFalkowski/LoggerLite is set up and removes the "secrets thingy".

Changes

  • Removed .github/workflows/sonar.yml (the CI scanner). Automatic Analysis and a CI scanner are mutually exclusive, so it must not coexist.
  • Rewrote SONAR_SETUP.md for the one-click, tokenless flow.
  • Updated CHANGELOG.md wording.

Unaffected

  • Test coverage still uploads to Codecov from ci.yml.
  • No source or package-version change (still 12.0.0) — nothing republishes to NuGet.

Refs #11.

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>
@PFalkowski PFalkowski closed this Jun 15, 2026
@PFalkowski PFalkowski deleted the chore/sonar-automatic-analysis branch June 15, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant