gate releases on k8s e2e test, remove per-push trigger

- 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) <noreply@anthropic.com>
pull/740/head
A. F. Dudley 2026-04-02 04:31:38 +00:00
parent c95eeeffb8
commit ae1eae5b9b
2 changed files with 9 additions and 4 deletions

View File

@ -7,8 +7,13 @@ on:
- publish-test - publish-test
jobs: jobs:
e2e:
name: "Gate: k8s deploy e2e"
uses: ./.github/workflows/test-k8s-deploy.yml
publish: publish:
name: "Build and publish" name: "Build and publish"
needs: e2e
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: "Clone project repository" - name: "Clone project repository"

View File

@ -1,10 +1,10 @@
name: K8s Deploy Test name: K8s Deploy Test
on: on:
pull_request: # Manual trigger for ad-hoc validation
branches: '*' workflow_dispatch:
push: # Called by publish workflow to gate releases
branches: '*' workflow_call:
jobs: jobs:
test: test: