You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2020/04/22 01:47:51 UTC

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

This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 2843300  ARROW-8550: [CI] Don't run cron GHA jobs on forks
2843300 is described below

commit 28433005701f5fec14111d9659a6274c429041c6
Author: Neal Richardson <ne...@gmail.com>
AuthorDate: Wed Apr 22 10:47:11 2020 +0900

    ARROW-8550: [CI] Don't run cron GHA jobs on forks
    
    Closes #7005 from nealrichardson/cron-off
    
    Authored-by: Neal Richardson <ne...@gmail.com>
    Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
 .github/workflows/cpp_cron.yml    | 10 +++++-----
 .github/workflows/dev_cron.yml    |  2 ++
 .github/workflows/python_cron.yml |  8 ++++----
 3 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/cpp_cron.yml b/.github/workflows/cpp_cron.yml
index 2a155a3..bdfed05 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 afbb96a..7712718 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 4f90493..10f709f 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: