Skip to content

Apache DataFusion SQL Query Engine

ARROW-8550: [CI] Don't run cron GHA jobs on forks

Neal Richardsonddf4385fb045
diff --git a/.github/workflows/cpp_cron.yml b/.github/workflows/cpp_cron.yml
index 2a155a3492..bdfed05d25 100644
--- a/.github/workflows/cpp_cron.yml
+++ b/.github/workflows/cpp_cron.yml
@@ -39,7 +39,7 @@ jobs:
debian:
name: AMD64 Debian ${{ matrix.debian }} C++
runs-on: ubuntu-latest
- if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
+ if: ${{ !contains(github.event.pull_request.title, 'WIP') && github.repository == 'apache/arrow' }}
strategy:
fail-fast: false
matrix:
@@ -81,7 +81,7 @@ jobs:
fedora:
name: AMD64 Fedora ${{ matrix.fedora }} C++
runs-on: ubuntu-latest
- if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
+ if: ${{ !contains(github.event.pull_request.title, 'WIP') && github.repository == 'apache/arrow' }}
strategy:
fail-fast: false
matrix:
@@ -123,7 +123,7 @@ jobs:
ubuntu:
name: AMD64 Ubuntu ${{ matrix.ubuntu }} C++
runs-on: ubuntu-latest
- if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
+ if: ${{ !contains(github.event.pull_request.title, 'WIP') && github.repository == 'apache/arrow' }}
strategy:
fail-fast: false
matrix:
@@ -158,7 +158,7 @@ jobs:
ubuntu-cmake32:
name: AMD64 Ubuntu 18.04 C++ CMake 3.2
runs-on: ubuntu-latest
- if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
+ if: ${{ !contains(github.event.pull_request.title, 'WIP') && github.repository == 'apache/arrow' }}
strategy:
fail-fast: false
matrix:
@@ -204,7 +204,7 @@ jobs:
oss-fuzz:
name: OSS-Fuzz build check
runs-on: ubuntu-latest
- if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
+ if: ${{ !contains(github.event.pull_request.title, 'WIP') && github.repository == 'apache/arrow' }}
strategy:
fail-fast: false
matrix:
diff --git a/.github/workflows/dev_cron.yml b/.github/workflows/dev_cron.yml
index afbb96ac7d..7712718511 100644
--- a/.github/workflows/dev_cron.yml
+++ b/.github/workflows/dev_cron.yml
@@ -31,6 +31,7 @@ on:
jobs:
jira-link:
+ if: github.repository == 'apache/arrow'
name: JIRA link
runs-on: ubuntu-latest
steps:
@@ -46,6 +47,7 @@ jobs:
eval(script);
title-check:
+ if: github.repository == 'apache/arrow'
name: Title check
runs-on: ubuntu-latest
steps:
diff --git a/.github/workflows/python_cron.yml b/.github/workflows/python_cron.yml
index 4f90493284..10f709f796 100644
--- a/.github/workflows/python_cron.yml
+++ b/.github/workflows/python_cron.yml
@@ -37,7 +37,7 @@ jobs:
debian:
name: AMD64 Debian ${{ matrix.debian }} Python 3
runs-on: ubuntu-latest
- if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
+ if: ${{ !contains(github.event.pull_request.title, 'WIP') && github.repository == 'apache/arrow' }}
strategy:
fail-fast: false
matrix:
@@ -80,7 +80,7 @@ jobs:
ubuntu:
name: AMD64 Ubuntu ${{ matrix.ubuntu }} Python 3
runs-on: ubuntu-latest
- if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
+ if: ${{ !contains(github.event.pull_request.title, 'WIP') && github.repository == 'apache/arrow' }}
strategy:
fail-fast: false
matrix:
@@ -123,7 +123,7 @@ jobs:
fedora:
name: AMD64 Fedora ${{ matrix.fedora }} Python 3
runs-on: ubuntu-latest
- if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
+ if: ${{ !contains(github.event.pull_request.title, 'WIP') && github.repository == 'apache/arrow' }}
strategy:
fail-fast: false
matrix:
@@ -166,7 +166,7 @@ jobs:
downstream:
name: AMD64 Conda Python 3.7 ${{ matrix.title }}
runs-on: ubuntu-latest
- if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
+ if: ${{ !contains(github.event.pull_request.title, 'WIP') && github.repository == 'apache/arrow' }}
strategy:
fail-fast: false
matrix: