Skip to content

fix(release): switch to workflow_run trigger, disable PyPI publishing… #282

fix(release): switch to workflow_run trigger, disable PyPI publishing…

fix(release): switch to workflow_run trigger, disable PyPI publishing… #282

Workflow file for this run

# RAG Processor - SonarCloud Analysis
# Continuous code quality and security analysis via org reusable workflow
#
# SonarCloud Dashboard: https://sonarcloud.io/dashboard?id=ByronWilliamsCPA_rag-processor
# Documentation: https://docs.sonarsource.com/sonarqube-cloud/
#
# Note: This workflow requires SONAR_TOKEN secret to be configured.
# With skip-if-no-token: true, the workflow will skip cleanly when the token
# is not yet provisioned (e.g. in forks or before SonarCloud onboarding).
name: SonarCloud
on:
push:
branches:
- main
- develop
pull_request:
types: [opened, synchronize, reopened]
branches:
- main
- develop
workflow_dispatch:
permissions:
contents: read
pull-requests: write # Required for PR decoration (relayed to reusable workflow)
jobs:
sonarcloud:
name: SonarCloud Analysis
uses: ByronWilliamsCPA/.github/.github/workflows/python-sonarcloud.yml@961eb17d8e9b7fe0d8bfc5dbe9d23c824484fb11 # main
with:
python-version: '3.12'
source-directory: 'src/rag_processor'
sonar-organization: 'byronwilliamscpa'
sonar-project-key: 'ByronWilliamsCPA_rag-processor'
skip-if-no-token: true
fail-on-quality-gate: false
no-build: false
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}