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 44e364e6410 Fix CI defaults for fork pull requests (#40104)
44e364e6410 is described below
commit 44e364e6410c8fa79a78b571ba5990bc830aed2a
Author: Liang Zhang <[email protected]>
AuthorDate: Wed Oct 7 21:15:41 2026 +0800
Fix CI defaults for fork pull requests (#40104)
---
.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 5b386e7af6f..3af71a9b1e1 100644
--- a/.github/workflows/reusable-global-environment.yml
+++ b/.github/workflows/reusable-global-environment.yml
@@ -36,13 +36,13 @@ jobs:
- name: Set Global Environment
id: global-environment
env:
- GLOBAL_REPOSITORY: ${{ vars.GLOBAL_REPOSITORY }}
+ GLOBAL_REPOSITORY: ${{ vars.GLOBAL_REPOSITORY ||
'apache/shardingsphere' }}
run: |
echo "GLOBAL_CACHE_PREFIX=${GLOBAL_REPOSITORY//\//-}" >>
"$GITHUB_OUTPUT"
if [ "$GITHUB_REPOSITORY" = "$GLOBAL_REPOSITORY" ]; then
echo "GLOBAL_JOB_ENABLED=true" >> "$GITHUB_OUTPUT"
fi
outputs:
- GLOBAL_RUNS_ON: ${{ vars.GLOBAL_RUNS_ON }}
+ GLOBAL_RUNS_ON: ${{ vars.GLOBAL_RUNS_ON || 'ubuntu-latest' }}
GLOBAL_JOB_ENABLED: ${{
steps.global-environment.outputs.GLOBAL_JOB_ENABLED }}
GLOBAL_CACHE_PREFIX: ${{
steps.global-environment.outputs.GLOBAL_CACHE_PREFIX }}