From f714b0a3dd131634652d74353edea1db2d17a1cb Mon Sep 17 00:00:00 2001 From: Henry Park Date: Mon, 9 Mar 2026 19:38:17 -0700 Subject: [PATCH] fix(ci): run all test jobs when invoked via workflow_call When staging-ci.yml calls test.yml as a reusable workflow, the event name is the caller's event (workflow_dispatch/schedule), not push or pull_request. This caused telegram-tests, windows-build, wasm-wit-compat, and docker-build to be skipped during staging promotion. Add github.event_name == 'workflow_call' to each gated job's condition. [skip-regression-check] Co-Authored-By: Claude Opus 4.6 --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bb29dd2a..ff170494 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,6 +43,7 @@ jobs: name: Telegram Channel Tests if: > github.event_name == 'push' || + github.event_name == 'workflow_call' || (github.event_name == 'pull_request' && github.base_ref != 'staging') runs-on: ubuntu-latest steps: @@ -58,6 +59,7 @@ jobs: name: Windows Build (${{ matrix.name }}) if: > github.event_name == 'push' || + github.event_name == 'workflow_call' || (github.event_name == 'pull_request' && github.base_ref != 'staging') runs-on: windows-latest strategy: @@ -85,6 +87,7 @@ jobs: name: WASM WIT Compatibility if: > github.event_name == 'push' || + github.event_name == 'workflow_call' || (github.event_name == 'pull_request' && github.base_ref != 'staging') runs-on: ubuntu-latest steps: @@ -108,6 +111,7 @@ jobs: name: Docker Build if: > github.event_name == 'push' || + github.event_name == 'workflow_call' || (github.event_name == 'pull_request' && github.base_ref != 'staging') runs-on: ubuntu-latest steps: