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 bc5ae0dcd64 Use repository variables for global CI environment (#40077)
bc5ae0dcd64 is described below

commit bc5ae0dcd64259641718213bafbeb3a50e57843d
Author: Liang Zhang <[email protected]>
AuthorDate: Tue Oct 6 16:47:33 2026 +0800

    Use repository variables for global CI environment (#40077)
---
 .github/workflows/reusable-global-environment.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/reusable-global-environment.yml 
b/.github/workflows/reusable-global-environment.yml
index 7c6e8564490..05f96b69347 100644
--- a/.github/workflows/reusable-global-environment.yml
+++ b/.github/workflows/reusable-global-environment.yml
@@ -38,7 +38,7 @@ jobs:
       - name: Set Global Environment
         id: global-environment
         env:
-          GLOBAL_REPOSITORY: ${{ vars.GLOBAL_REPOSITORY || (github.repository 
== 'apache/shardingsphere' && github.event_name == 'pull_request' && 
github.repository) || '' }}
+          GLOBAL_REPOSITORY: ${{ vars.GLOBAL_REPOSITORY }}
         run: |
           echo "GLOBAL_CACHE_PREFIX=${GLOBAL_REPOSITORY//\//-}" >> 
"$GITHUB_OUTPUT"
           if [ "$GITHUB_REPOSITORY" = "$GLOBAL_REPOSITORY" ]; then
@@ -46,7 +46,7 @@ jobs:
             echo "GLOBAL_JOB_ENABLED=true" >> "$GITHUB_OUTPUT"
           fi
     outputs:
-      GLOBAL_RUNS_ON: ${{ github.repository == 'apache/shardingsphere' && 
github.event_name == 'pull_request' && 'ubuntu-latest' || vars.GLOBAL_RUNS_ON }}
+      GLOBAL_RUNS_ON: ${{ vars.GLOBAL_RUNS_ON }}
       GLOBAL_JOB_ENABLED: ${{ 
steps.global-environment.outputs.GLOBAL_JOB_ENABLED }}
       GLOBAL_CACHE_PREFIX: ${{ 
steps.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
       GLOBAL_IS_NIGHTLY_JOB_EXECUTABLE: ${{ 
steps.global-environment.outputs.GLOBAL_IS_NIGHTLY_JOB_EXECUTABLE }}

Reply via email to