From ebb113a273c42725bb2350d6649fded0cbb5fc16 Mon Sep 17 00:00:00 2001 From: L9 Agent Date: Wed, 11 Mar 2026 16:09:04 +0000 Subject: [PATCH] chore: remove SonarCloud CI job from ci-quality.yml --- .github/workflows/ci-quality.yml | 47 -------------------------------- 1 file changed, 47 deletions(-) diff --git a/.github/workflows/ci-quality.yml b/.github/workflows/ci-quality.yml index 766d74b..54dd836 100644 --- a/.github/workflows/ci-quality.yml +++ b/.github/workflows/ci-quality.yml @@ -5,14 +5,11 @@ # All project-specific values come from repository variables/secrets. # # Required GitHub Secrets: -# SONAR_TOKEN — SonarCloud token # GITGUARDIAN_API_KEY — GitGuardian API key # CODECOV_TOKEN — Codecov upload token # # Required GitHub Variables (Settings → Variables): # PYTHON_VERSION — Python version (e.g. "3.12") -# SONAR_PROJECT_KEY — SonarCloud project key -# SONAR_ORG — SonarCloud organization # # Optional GitHub Variables: # TEST_DB_IMAGE — Postgres image (default: postgres:16) @@ -97,48 +94,6 @@ jobs: env: SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN || '' }} - # =========================================================================== - # SONARCLOUD — Code Quality & Security Analysis - # =========================================================================== - sonarcloud: - name: SonarCloud Analysis - runs-on: ubuntu-latest - timeout-minutes: 15 - - steps: - - name: Checkout code - uses: actions/checkout@v6 - with: - fetch-depth: 0 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: ${{ env.PYTHON_VERSION }} - cache: "pip" - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -e . 2>/dev/null || pip install -r requirements.txt 2>/dev/null || true - pip install pytest pytest-cov - - - name: Run tests with coverage - run: pytest tests/ --cov=. --cov-report=xml --cov-report=term --ignore=tests/e2e || true - continue-on-error: true - - - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - with: - args: > - -Dsonar.projectKey=${{ vars.SONAR_PROJECT_KEY }} - -Dsonar.organization=${{ vars.SONAR_ORG }} - -Dsonar.python.coverage.reportPaths=coverage.xml - -Dsonar.qualitygate.wait=true - # =========================================================================== # SECRETS-SCAN — GitGuardian Secrets Detection # =========================================================================== @@ -291,7 +246,6 @@ jobs: needs: - lint-format - semgrep - - sonarcloud - secrets-scan - coverage - yaml-validate @@ -308,7 +262,6 @@ jobs: echo "" echo " ├─ Lint & Format: ${{ needs.lint-format.result }}" echo " ├─ Semgrep: ${{ needs.semgrep.result }}" - echo " ├─ SonarCloud: ${{ needs.sonarcloud.result }}" echo " ├─ Secrets Scan: ${{ needs.secrets-scan.result }}" echo " ├─ Coverage: ${{ needs.coverage.result }}" echo " ├─ YAML Validate: ${{ needs.yaml-validate.result }}"