refactor(ci): remove job dependencies for pure flag execution

Drop sonar/deploy needs so each stage runs only when its own run_* flag is true.

Made-with: Cursor
This commit is contained in:
WDI-Ideas
2026-04-09 12:20:40 +05:30
parent cf425dbc7a
commit baedab602c

View File

@@ -97,7 +97,6 @@ jobs:
# 🔍 SONAR
sonar:
if: inputs.run_sonar == true || inputs.run_sonar == 'true'
needs: build
uses: Rajendra.Reddy/wdipl-actions/.gitea/workflows/quality.yml@main
with:
wait_for_quality_gate: ${{ inputs.wait_for_quality_gate }}
@@ -108,7 +107,6 @@ jobs:
# 🚀 DEPLOY
deploy:
if: inputs.run_deploy == true || inputs.run_deploy == 'true'
needs: [build, sonar]
uses: Rajendra.Reddy/wdipl-actions/.gitea/workflows/deploy.yml@main
with:
tech_stack: ${{ inputs.tech_stack }}