From a8bb7f4b2f3c646b3fa0885dc3bab9c7a25b6e3e Mon Sep 17 00:00:00 2001 From: Todd Farmer Date: Thu, 1 Sep 2022 15:42:44 -0600 Subject: [PATCH] MINOR: Suppress nightly java build uploads on a fork (#14023) Similar to [this earlier PR](https://github.com/apache/arrow/pull/13457), but for Java. Authored-by: Todd Farmer Signed-off-by: Ian Cook --- .github/workflows/java_nightly.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/java_nightly.yml b/.github/workflows/java_nightly.yml index d0f6f29d32644..5e7de690570d2 100644 --- a/.github/workflows/java_nightly.yml +++ b/.github/workflows/java_nightly.yml @@ -32,6 +32,7 @@ on: - cron: '0 14 * * *' jobs: upload: + if: github.repository == 'apache/arrow' env: PREFIX: ${{ github.event.inputs.prefix || ''}} CROSSBOW_GITHUB_TOKEN: ${{ github.token }}