Disable CI-based SonarCloud, use Automatic Analysis instead
Custom Quality Gates require paid plan - not suitable for FOSS. Automatic Analysis provides code quality feedback without coverage requirements. Keep manual workflow_dispatch trigger for testing if needed.
This commit is contained in:
22
.github/workflows/sonarcloud.yml
vendored
22
.github/workflows/sonarcloud.yml
vendored
@@ -1,12 +1,22 @@
|
|||||||
name: SonarCloud Analysis
|
name: SonarCloud Analysis
|
||||||
|
|
||||||
|
# DISABLED: Using SonarCloud Automatic Analysis instead of CI-based analysis.
|
||||||
|
# Custom Quality Gates require a paid plan, which isn't suitable for FOSS projects.
|
||||||
|
# The free Automatic Analysis provides code quality feedback without coverage requirements.
|
||||||
|
#
|
||||||
|
# To re-enable CI-based analysis:
|
||||||
|
# 1. Uncomment the triggers below
|
||||||
|
# 2. Disable Automatic Analysis on SonarCloud.io
|
||||||
|
# 3. Consider upgrading to a paid plan for custom Quality Gate settings
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
# Disabled - using Automatic Analysis instead
|
||||||
branches: [ main, feature/* ]
|
# push:
|
||||||
pull_request:
|
# branches: [ main, feature/* ]
|
||||||
branches: [ main ]
|
# pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
# branches: [ main ]
|
||||||
workflow_dispatch:
|
# types: [opened, synchronize, reopened]
|
||||||
|
workflow_dispatch: # Keep manual trigger for testing
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
Reference in New Issue
Block a user