Skip to content

Commit

Permalink
Disable scheduled GHA jobs for forked repos (apache#8189)
Browse files Browse the repository at this point in the history
  • Loading branch information
wForget authored and yikf committed Dec 13, 2024
1 parent b706ca3 commit 34305f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ on:

jobs:
build-vcpkg-centos-7:
if: ${{ startsWith(github.repository, 'apache/') }}
runs-on: ubuntu-latest

steps:
Expand All @@ -52,6 +53,7 @@ jobs:
tags: apache/gluten:vcpkg-centos-7

build-centos-8:
if: ${{ startsWith(github.repository, 'apache/') }}
runs-on: ubuntu-latest

steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ on:

jobs:
stale:
if: ${{ startsWith(github.repository, 'apache/') }}
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/velox_weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 34305f0

Please sign in to comment.