Skip to content

ci: update sonar project key to use environment variable - #304

Merged
NelsonBN merged 1 commit into
mainfrom
improve-mutations-tests
Sep 26, 2026
Merged

NelsonBN merged 1 commit into
mainfrom
improve-mutations-tests

Conversation

@NelsonBN

Copy link
Copy Markdown
Member

Checklist before requesting a review

  • I have performed a self-review of my code.
  • Implemented tests for new features.
  • I tested the features already implemented.
  • Added usage examples in the readme.

Copilot AI lite review requested due to automatic review settings September 26, 2026 09:18
@github-actions

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The configured SonarCloud project key does not match the repository’s documented key.

Review effort: Lite
Findings: 1 Medium severity

Open (1)
What changed in this PR

Updates the SonarCloud workflow to use a workflow-level environment variable for the project key.

Changes:

  • Adds SONAR_PROJECT_KEY to the workflow environment.
  • Uses the variable during SonarCloud analysis.
File Summary
.github/​workflows/​sonarcloud-and-mutations.yml Configures and uses the SonarCloud project key; the key must match the repository’s documented project key.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/sonarcloud-and-mutations.yml
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
PowerUtils.Geolocation 100% 99% 131 ✔
Summary 100% (181 / 181) 99% (69 / 70) 131 ✔

@github-actions

Copy link
Copy Markdown

Test Summary

    5 files      5 suites   1s ⏱️
  252 tests   252 ✅ 0 💤 0 ❌
1 260 runs  1 260 ✅ 0 💤 0 ❌

Results for commit e188b24.

@sonarqubecloud

Copy link
Copy Markdown

@NelsonBN
NelsonBN merged commit 9ecb977 into main Sep 26, 2026
10 checks passed
@NelsonBN
NelsonBN deleted the improve-mutations-tests branch September 26, 2026 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants