Skip to content

Add SonarQube analysis on pull requests and releases - #2

Closed
axgd-code with Copilot wants to merge 2 commits into
mainfrom
copilot/sonarqube-verification-on-release-mr
Closed

Add SonarQube analysis on pull requests and releases#2
axgd-code with Copilot wants to merge 2 commits into
mainfrom
copilot/sonarqube-verification-on-release-mr

Conversation

CopilotAI commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

SonarQube scan was not integrated into the CI pipeline — no static analysis ran on PRs or releases.

Changes

  • .github/workflows/sonarqube.yml — New workflow triggered on pull_request and push: tags: ["v*"], using SonarSource/sonarqube-scan-action@v5 with fetch-depth: 0 for accurate SCM data. GITHUB_TOKEN scoped to contents: read.
  • sonar-project.properties — Project configuration pointing sources at src/ (shell) and ui/ (Python), excluding ui/dist/** and __pycache__.

Required secrets

Two repository secrets must be set before the workflow succeeds:

SecretValue
SONAR_TOKENAuth token from your SonarQube/SonarCloud instance
SONAR_HOST_URLServer URL (e.g. https://sonarcloud.io)

Agent-Logs-Url: https://github.com/axgd-code/ok_computer/sessions/8d3686b4-4c7b-442e-88be-17e4c41908a8
Co-authored-by: axgd-code <1721781+axgd-code@users.noreply.github.com>
CopilotAI changed the title [WIP] Add SonarQube verification for each release and MRAdd SonarQube analysis on pull requests and releasesMar 31, 2026
CopilotAI requested a review from axgd-codeMarch 31, 2026 08:22
Sign up for freeto 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.

2 participants

@axgd-code