diff --git a/.github/workflows/docker_image.yml b/.github/workflows/docker_image.yml index 0a6742099b36..f6f0cd51b1f5 100644 --- a/.github/workflows/docker_image.yml +++ b/.github/workflows/docker_image.yml @@ -28,6 +28,7 @@ on: jobs: build-vcpkg-centos-7: + if: ${{ startsWith(github.repository, 'apache/') }} runs-on: ubuntu-latest steps: @@ -52,6 +53,7 @@ jobs: tags: apache/gluten:vcpkg-centos-7 build-centos-8: + if: ${{ startsWith(github.repository, 'apache/') }} runs-on: ubuntu-latest steps: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index b766fe46cbb2..20e0b2868c27 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -20,6 +20,7 @@ on: jobs: stale: + if: ${{ startsWith(github.repository, 'apache/') }} runs-on: ubuntu-latest steps: - uses: actions/stale@v8 diff --git a/.github/workflows/velox_weekly.yml b/.github/workflows/velox_weekly.yml index fa8273d51a2f..1a5589314ce1 100644 --- a/.github/workflows/velox_weekly.yml +++ b/.github/workflows/velox_weekly.yml @@ -35,6 +35,7 @@ jobs: fail-fast: false matrix: os: [ "centos:7", "centos:8", "quay.io/centos/centos:stream9" ] + if: ${{ startsWith(github.repository, 'apache/') }} runs-on: ubuntu-20.04 container: ${{ matrix.os }} steps: @@ -79,6 +80,7 @@ jobs: fail-fast: false matrix: os: [ "ubuntu:20.04", "ubuntu:22.04" ] + if: ${{ startsWith(github.repository, 'apache/') }} runs-on: ubuntu-20.04 container: ${{ matrix.os }} steps: