Skip to content

ci: add sonarcloud.yml and sonar-project.properties#75

Merged
don-petry merged 1 commit into
mainfrom
claude/issue-47-20260508-1409
May 11, 2026
Merged

ci: add sonarcloud.yml and sonar-project.properties#75
don-petry merged 1 commit into
mainfrom
claude/issue-47-20260508-1409

Conversation

@don-petry

Copy link
Copy Markdown
Collaborator

Summary

  • Adds .github/workflows/sonarcloud.yml following the Tier 2 per-repo pattern from ci-standards.md §3
  • Copies the exact standard configuration (SHA-pinned actions, correct permissions, SONAR_TOKEN guard)
  • Adds sonar-project.properties with project key petry-projects_.github-private, org petry-projects, modeled on the broodly repo pattern

Test plan

  • Confirm SonarCloud scan triggers on push to main after merge
  • Confirm SONAR_TOKEN org secret is inherited (no additional config needed)
  • Confirm compliance audit clears the missing-sonarcloud.yml finding on next run

Closes #47

Generated with Claude Code

Adds the required SonarCloud Analysis workflow following the Tier 2
per-repo pattern documented in standards/ci-standards.md §3. Also
adds sonar-project.properties with the project key and org for this
repository.

Closes #47

Co-authored-by: Don Petry <don-petry@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 8, 2026 14:10
@coderabbitai

coderabbitai Bot commented May 8, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@don-petry has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 59 minutes and 35 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: f340ec22-82be-4b1c-a084-165041f65fb4

📥 Commits

Reviewing files that changed from the base of the PR and between 5042df9 and a609b81.

📒 Files selected for processing (2)
  • .github/workflows/sonarcloud.yml
  • sonar-project.properties
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/issue-47-20260508-1409

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@don-petry

Copy link
Copy Markdown
Collaborator Author

@don-petry — PR is ready for review and merge. This adds the missing sonarcloud.yml workflow and sonar-project.properties to resolve the compliance finding.

@sonarqubecloud

sonarqubecloud Bot commented May 8, 2026

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.

Pull request overview

Adds SonarCloud scanning configuration to bring this repository into CI compliance (issue #47) by introducing the required workflow and SonarCloud project properties.

Changes:

  • Added .github/workflows/sonarcloud.yml to run SonarCloud analysis on pushes and PRs targeting main.
  • Added sonar-project.properties to define the SonarCloud project key/org/name and basic source/exclusion settings.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
sonar-project.properties Defines SonarCloud project metadata and scanner scope/exclusions.
.github/workflows/sonarcloud.yml Adds the SonarCloud scan workflow (SHA-pinned actions, guarded by SONAR_TOKEN).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
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.

Compliance: missing-sonarcloud.yml

2 participants