This is an automated email from the ASF dual-hosted git repository.
yuanzhou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 65b815e223 [VL][MINOR] Prevent selected CI jobs from running on forks
(#10828)
65b815e223 is described below
commit 65b815e223f3de338327c0440887ed25f7429eb9
Author: PHILO-HE <[email protected]>
AuthorDate: Thu Oct 2 01:43:36 2025 +0800
[VL][MINOR] Prevent selected CI jobs from running on forks (#10828)
Some CI jobs are intended for the upstream repository and do not need to
run in forked repositories. For example, it is not intended to upload docs to
apache nightly in forked repo.
---
.github/workflows/nightly_sync.yml | 1 +
.github/workflows/velox_backend_cache.yml | 5 +++++
.github/workflows/velox_nightly.yml | 7 +++++++
3 files changed, 13 insertions(+)
diff --git a/.github/workflows/nightly_sync.yml
b/.github/workflows/nightly_sync.yml
index bd2173cc0a..445b2dfccf 100644
--- a/.github/workflows/nightly_sync.yml
+++ b/.github/workflows/nightly_sync.yml
@@ -22,6 +22,7 @@ on:
- '.github/workflows/nightly_sync.yml'
jobs:
upload_to_nightlies:
+ if: ${{ startsWith(github.repository, 'apache/') }}
runs-on: ubuntu-latest
steps:
diff --git a/.github/workflows/velox_backend_cache.yml
b/.github/workflows/velox_backend_cache.yml
index 0482e336b5..fc739ad5c4 100644
--- a/.github/workflows/velox_backend_cache.yml
+++ b/.github/workflows/velox_backend_cache.yml
@@ -30,6 +30,7 @@ concurrency:
jobs:
cache-native-lib-centos-7:
+ if: ${{ startsWith(github.repository, 'apache/') }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
@@ -55,6 +56,7 @@ jobs:
key: ccache-centos7-release-default-${{github.sha}}
cache-native-lib-centos-8:
+ if: ${{ startsWith(github.repository, 'apache/') }}
runs-on: ${{ matrix.os }}
container: apache/gluten:vcpkg-centos-8
strategy:
@@ -80,6 +82,7 @@ jobs:
key: ccache-centos8-release-default-${{runner.arch}}-${{github.sha}}
cache-shared-lib-centos-8:
+ if: ${{ startsWith(github.repository, 'apache/') }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
@@ -107,6 +110,7 @@ jobs:
key: ccache-centos8-release-shared-${{runner.arch}}-${{github.sha}}
cache-enhanced-native-lib-centos-7:
+ if: ${{ startsWith(github.repository, 'apache/') }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
@@ -132,6 +136,7 @@ jobs:
key: ccache-enhanced-centos7-release-default-${{github.sha}}
cache-shared-lib-centos-9:
+ if: ${{ startsWith(github.repository, 'apache/') }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
diff --git a/.github/workflows/velox_nightly.yml
b/.github/workflows/velox_nightly.yml
index 37c64e6c71..c8d1527b81 100644
--- a/.github/workflows/velox_nightly.yml
+++ b/.github/workflows/velox_nightly.yml
@@ -70,6 +70,7 @@ jobs:
name: velox-arrow-jar-centos-7-${{github.sha}}
build-bundle-package-centos8-jdk8-x86:
+ if: ${{ startsWith(github.repository, 'apache/') }}
needs: build-native-lib-x86
runs-on: ubuntu-22.04
container: centos:8
@@ -111,6 +112,7 @@ jobs:
retention-days: 7
build-bundle-package-centos8-jdk17-x86:
+ if: ${{ startsWith(github.repository, 'apache/') }}
needs: build-native-lib-x86
runs-on: ubuntu-22.04
container: centos:8
@@ -152,6 +154,7 @@ jobs:
#build and package for arm64
build-native-lib-centos-8-arm64:
+ if: ${{ startsWith(github.repository, 'apache/') }}
runs-on: ubuntu-24.04-arm
container: apache/gluten:vcpkg-centos-8
steps:
@@ -189,6 +192,7 @@ jobs:
if-no-files-found: error
build-bundle-package-centos8-jdk8-arm64:
+ if: ${{ startsWith(github.repository, 'apache/') }}
needs: build-native-lib-centos-8-arm64
runs-on: ubuntu-22.04-arm
container: centos:8
@@ -230,6 +234,7 @@ jobs:
retention-days: 7
build-bundle-package-centos8-jdk17-arm64:
+ if: ${{ startsWith(github.repository, 'apache/') }}
needs: build-native-lib-centos-8-arm64
runs-on: ubuntu-22.04-arm
container: centos:8
@@ -270,6 +275,7 @@ jobs:
# upload package to nightly.apache.org
upload-jdk8-package:
+ if: ${{ startsWith(github.repository, 'apache/') }}
needs: [build-bundle-package-centos8-jdk8-arm64,
build-bundle-package-centos8-jdk8-x86]
runs-on: ubuntu-22.04
steps:
@@ -298,6 +304,7 @@ jobs:
remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}
upload-jdk17-package:
+ if: ${{ startsWith(github.repository, 'apache/') }}
needs: [build-bundle-package-centos8-jdk17-arm64,
build-bundle-package-centos8-jdk17-x86]
runs-on: ubuntu-22.04
steps:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]