This is an automated email from the ASF dual-hosted git repository.
terrymanu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 5673451b884 Use GLOBAL_JOB_ENABLED for agent E2E jobs (#40074)
5673451b884 is described below
commit 5673451b884f7750bb3c4ff99bb7ff94f291424f
Author: Liang Zhang <[email protected]>
AuthorDate: Tue Oct 6 13:47:19 2026 +0800
Use GLOBAL_JOB_ENABLED for agent E2E jobs (#40074)
---
.github/workflows/e2e-agent.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/e2e-agent.yml b/.github/workflows/e2e-agent.yml
index 59c67d8f631..7f101a1d221 100644
--- a/.github/workflows/e2e-agent.yml
+++ b/.github/workflows/e2e-agent.yml
@@ -54,7 +54,7 @@ jobs:
uses: ./.github/workflows/reusable-global-environment.yml
build-e2e-image:
- if: github.repository == 'apache/shardingsphere'
+ if: ${{ needs.global-environment.outputs.GLOBAL_JOB_ENABLED == 'true' }}
name: Build E2E Image
needs: global-environment
runs-on: ${{ needs.global-environment.outputs.GLOBAL_RUNS_ON }}
@@ -95,7 +95,7 @@ jobs:
agent-mysql:
name: E2E - Agent with MySQL
- if: github.repository == 'apache/shardingsphere'
+ if: ${{ needs.global-environment.outputs.GLOBAL_JOB_ENABLED == 'true' }}
needs: [ global-environment, build-e2e-image ]
runs-on: ${{ needs.global-environment.outputs.GLOBAL_RUNS_ON }}
timeout-minutes: 40