From dddc077a10d14df85b85b78720e7886c9ef5ddfb Mon Sep 17 00:00:00 2001 From: WDI-Ideas Date: Wed, 8 Apr 2026 17:24:47 +0530 Subject: [PATCH] chore(ci): use repository variables for boolean stage switches Map RUN_BUILD/RUN_QUALITY/RUN_DEPLOY variables into central reusable workflow inputs and pin latest central SHA. Made-with: Cursor --- .gitea/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 9f65e39..b42330b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -8,13 +8,16 @@ on: jobs: ci: # Pin SHA (bump when wdipl-actions ci.yml changes). Propagates ci_steps via build workflow outputs. - uses: Rajendra.Reddy/wdipl-actions/.gitea/workflows/ci.yml@308671e69c5048170c92ef90728334cabd307238 + uses: Rajendra.Reddy/wdipl-actions/.gitea/workflows/ci.yml@91dccaa32a528dca5331faa34fcc09cc64fec0a8 with: tech_stack: node - # Single string — WDIPL-Runner drops extra workflow_call boolean/string flags (only first sticks). - ci_steps: 'build,sonar,deploy' + # Use repository variables in Gitea UI: + # RUN_BUILD=true|false, RUN_QUALITY=true|false, RUN_DEPLOY=true|false + run_build: ${{ vars.RUN_BUILD }} + run_quality: ${{ vars.RUN_QUALITY }} + run_deploy: ${{ vars.RUN_DEPLOY }} wait_for_quality_gate: 'false' app_path_beta: /var/www/app-beta