Disable flaky CI workflows (Playground tests, SonarCloud)

- Disable WordPress Playground tests from automatic PR/push triggers
  (WordPress Playground CLI doesn't start reliably in GitHub Actions)
- Disable SonarCloud workflow (SONAR_TOKEN returns HTTP 403)
- Comment out SonarCloud job in code-quality.yml
- Keep workflows available for manual debugging via workflow_dispatch
- PHPUnit tests and code quality checks remain active
This commit is contained in:
2025-11-24 20:03:35 +00:00
parent 5ca320c580
commit e660915402
5 changed files with 117 additions and 63 deletions

View File

@@ -1,12 +1,24 @@
name: SonarCloud Analysis
# NOTE: This workflow requires a valid SONAR_TOKEN secret to be configured.
# If you see HTTP 403 errors, the token may be expired or invalid.
# Generate a new token at: https://sonarcloud.io/account/security
on:
push:
branches: [ main, feature/* ]
pull_request:
branches: [ main ]
types: [opened, synchronize, reopened]
# Only run manually until SONAR_TOKEN is properly configured
workflow_dispatch:
inputs:
force_run:
description: 'Force run even if token validation fails'
required: false
default: 'false'
# Commented out automatic triggers until SONAR_TOKEN is properly configured:
# push:
# branches: [ main, feature/* ]
# pull_request:
# branches: [ main ]
# types: [opened, synchronize, reopened]
permissions:
contents: read