Skip to content

Feature/sonarqube#85

Merged
Genarito merged 14 commits intomainfrom
feature/sonarqube
Feb 23, 2026
Merged

Feature/sonarqube#85
Genarito merged 14 commits intomainfrom
feature/sonarqube

Conversation

@TheSinnerAR
Copy link
Copy Markdown
Collaborator

This pull request introduces SonarQube integration for automated code quality analysis on pull requests. The main changes include adding a GitHub Actions workflow to run SonarQube scans and providing a configuration file to define project-specific SonarQube settings.

SonarQube Integration:

  • Added .github/workflows/sonarqube-pr.yaml to run SonarQube analysis on pull requests targeting main development branches, including setup for Python and Node.js environments and installation of dependencies. The workflow triggers on PR events and waits for SonarQube's quality gate before completing.

SonarQube Configuration:

  • Added sonar-project.properties to specify project details, source directories, file exclusions, and Python version settings for SonarQube analysis. This ensures only relevant backend Python files are scanned and frontend or generated files are excluded.

Introduces a GitHub Actions workflow for SonarQube analysis on both backend and frontend. Adds SonarQube configuration files for backend and frontend projects to enable code quality and coverage reporting. Removes unnecessary .DS_Store files from various directories.
Bump actions/checkout from v3 to v4 and SonarSource/sonarqube-scan-action from v2 to v6 in both backend and frontend analysis jobs for improved compatibility and security.
Expanded sonar.exclusions in both backend and frontend sonar-project.properties to cover additional directories and files. Commented out sonar.tests and sonar.test.inclusions to avoid issues with empty test sets. Added sonar.language=py to backend config.
Added debug steps to SonarQube GitHub Actions workflow for both backend and frontend to show directory structure and file counts. Enabled verbose output for SonarQube scans. Updated sonar-project.properties to specify backend source directories and refined exclusions for more accurate analysis.
Replaces the unified SonarQube workflow with separate workflows for backend and frontend analysis. Updates sonar-project.properties files for both backend and frontend to simplify source and exclusion patterns, and to clarify file inclusions for each project.
Introduces a comprehensive SECURITY.md in Spanish covering static analysis fundamentals, SonarQube Cloud setup, quality gates, profiles, rules, and best practices for the Multiomix project. This document serves as a reference for developers to ensure code quality and security using SonarQube.
Removed separate backend and frontend SonarQube GitHub Actions workflows and frontend sonar-project.properties. Added a unified SonarQube analysis workflow for pull requests, simplifying CI configuration and centralizing code quality checks.
Encloses the SonarQube project name in single quotes to ensure correct parsing in the workflow arguments.
Changed project key and name to reflect Django backend. Updated Python version to 3.12, refined exclusions, and added JavaScript/TypeScript settings for improved code analysis.
Changed SonarQube projectKey from 'omics-datascience_multiomix-django' to 'omicsdatascience_multiomix' and projectName from 'Multiomix Django' to 'multiomix' in both workflow and properties files for consistency.
Changed SonarCloud project key from 'omicsdatascience_multiomix' to 'omics-datascience_multiomix' in workflow and properties files for consistency. Added SonarCloud quality, security, maintainability, and coverage badges to README for improved project visibility.
Changed project name casing, updated Python version to 3.12, refined exclusions, and added JavaScript/TypeScript settings for SonarQube. Also updated the last modified date to November 2025.
Add .DS_Store to .gitignore and remove several .DS_Store files from the repository to avoid committing macOS metadata. Update SECURITY.md by removing the "Mejores Prácticas" section and adjusting support/contact lines to use an email and a GitHub issue link.
Replace a long Spanish guide with a concise, English SECURITY & Code Quality document. Condenses and removes extensive tutorial content, keeps SonarQube/SonarCloud guidance, adds Pull Request analysis notes, local SonarCloud setup steps for contributors, a public-visibility 'heads up' about SonarCloud results, and contact instructions. Overall goal: shorten and clarify security/quality guidance for contributors and point to SonarCloud resources.
@Genarito Genarito merged commit 4d21a3d into main Feb 23, 2026
1 of 4 checks passed
@Genarito Genarito deleted the feature/sonarqube branch February 23, 2026 14:16
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.

2 participants