ci: add NiCE SonarQube analysis (AB#142804) - #76
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
Pull request overview
This PR onboards the SocketClient repository to the NiCE corporate SonarQube instance by adding a GitHub Actions workflow to run the SonarQube scan and introducing a sonar-project.properties file to define the project identity and analysis scope.
Changes:
- Adds
sonar-project.propertieswith a new SonarQubeprojectKeyand source/test include/exclude configuration. - Adds a GitHub Actions workflow to run
SonarSource/sonarqube-scan-actionusingNICE_SONAR_TOKENandNICE_SONAR_HOST_URL.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
sonar-project.properties |
Defines SonarQube project identity plus source/test inclusion and exclusion patterns. |
.github/workflows/sonarqube.yml |
Adds a CI workflow that checks out the repo and runs the SonarQube scan action using org-provided credentials. |
Suppressed comments (1)
.github/workflows/sonarqube.yml:25
SonarSource/sonarqube-scan-actionis pinned to@v7, but the latest release line is now in the v8 major series. Updating the major pin reduces the risk of missing important scanner/runner compatibility and bug fixes.
- uses: SonarSource/sonarqube-scan-action@v7
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Lucas Ramos (@ls-ramos) In this project you might also want to merge this to another branch https://github.com/Cognigy/SocketClient/tree/v5-for-webchat-v3 Dmitrii Ostasevich (@kwinto) Correct me If am wrong |
Yes, it is a valid point. |
Summary
.github/workflows/sonarqube.ymlusing the org-levelNICE_SONAR_TOKEN/NICE_SONAR_HOST_URL.sonar-project.propertieswith projectKeycom.nice.cognigy-boron-SocketClient(team confirmed via GitHub Team/topic metadata and the Domain Ownership List).Changelog
SocketClientare reported on every push and pull request.Reference: Using NiCE SonarQube