From ae1eae5b9ba7a82c13f5e6938f33565be3226da0 Mon Sep 17 00:00:00 2001 From: "A. F. Dudley" Date: Thu, 2 Apr 2026 04:31:38 +0000 Subject: [PATCH] gate releases on k8s e2e test, remove per-push trigger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - test-k8s-deploy.yml: trigger on workflow_call and workflow_dispatch only (not every push/PR) - publish.yml: add needs: e2e job that calls test-k8s-deploy.yml — release is blocked until the k8s e2e suite passes Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/publish.yml | 5 +++++ .github/workflows/test-k8s-deploy.yml | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8dde6e41..2a692a9c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,8 +7,13 @@ on: - publish-test jobs: + e2e: + name: "Gate: k8s deploy e2e" + uses: ./.github/workflows/test-k8s-deploy.yml + publish: name: "Build and publish" + needs: e2e runs-on: ubuntu-latest steps: - name: "Clone project repository" diff --git a/.github/workflows/test-k8s-deploy.yml b/.github/workflows/test-k8s-deploy.yml index 6bc40ed2..3b25469c 100644 --- a/.github/workflows/test-k8s-deploy.yml +++ b/.github/workflows/test-k8s-deploy.yml @@ -1,10 +1,10 @@ name: K8s Deploy Test on: - pull_request: - branches: '*' - push: - branches: '*' + # Manual trigger for ad-hoc validation + workflow_dispatch: + # Called by publish workflow to gate releases + workflow_call: jobs: test: