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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user