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
|
||||||
sonar:
|
sonar:
|
||||||
if: inputs.run_sonar == true || inputs.run_sonar == 'true'
|
if: inputs.run_sonar == true || inputs.run_sonar == 'true'
|
||||||
needs: build
|
|
||||||
uses: Rajendra.Reddy/wdipl-actions/.gitea/workflows/quality.yml@main
|
uses: Rajendra.Reddy/wdipl-actions/.gitea/workflows/quality.yml@main
|
||||||
with:
|
with:
|
||||||
wait_for_quality_gate: ${{ inputs.wait_for_quality_gate }}
|
wait_for_quality_gate: ${{ inputs.wait_for_quality_gate }}
|
||||||
@@ -108,7 +107,6 @@ jobs:
|
|||||||
# 🚀 DEPLOY
|
# 🚀 DEPLOY
|
||||||
deploy:
|
deploy:
|
||||||
if: inputs.run_deploy == true || inputs.run_deploy == 'true'
|
if: inputs.run_deploy == true || inputs.run_deploy == 'true'
|
||||||
needs: [build, sonar]
|
|
||||||
uses: Rajendra.Reddy/wdipl-actions/.gitea/workflows/deploy.yml@main
|
uses: Rajendra.Reddy/wdipl-actions/.gitea/workflows/deploy.yml@main
|
||||||
with:
|
with:
|
||||||
tech_stack: ${{ inputs.tech_stack }}
|
tech_stack: ${{ inputs.tech_stack }}
|
||||||
|
|||||||
Reference in New Issue
Block a user