From 4a26bfaa4d15ae5029cdad71eb8ddb9f83499574 Mon Sep 17 00:00:00 2001 From: peptiderepo Date: Tue, 9 Jun 2026 15:28:38 +0000 Subject: [PATCH] ci(deploy): promote smoke to a production gate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit deploy-production now needs smoke; a smoke FAILURE blocks prod while a skipped smoke (run_smoke:false) still allows it. Automated functional gate replacing the removed human approval gate — hands-off but safe. Agent-Session: cto gate-smoke --- .github/workflows/deploy-app.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-app.yml b/.github/workflows/deploy-app.yml index 7ac6703..87188e0 100644 --- a/.github/workflows/deploy-app.yml +++ b/.github/workflows/deploy-app.yml @@ -79,7 +79,10 @@ jobs: deploy-production: name: Deploy to Production - needs: [deploy-staging] + # Smoke is now a GATE: a smoke FAILURE blocks production. A deliberately + # skipped smoke (run_smoke: false) still allows prod via the if-condition. + needs: [deploy-staging, smoke] + if: ${{ !cancelled() && needs.deploy-staging.result == 'success' && needs.smoke.result != 'failure' }} runs-on: ubuntu-latest environment: production steps: -- 2.49.1