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 Dec 10, 2024
1 parent f37f459 commit 73846ab
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 73846ab

Please sign in to comment.