From 39ed17282f996974e1fa1d72ce743fcd24c37b58 Mon Sep 17 00:00:00 2001 From: Adam Hillier <7688302+AdamHillier@users.noreply.github.com> Date: Mon, 8 Feb 2021 10:14:21 +0000 Subject: [PATCH] Don't run nightly update job in forks. --- .github/workflows/update-nightly.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-nightly.yml b/.github/workflows/update-nightly.yml index 01b5147d053..0265ffbebe2 100644 --- a/.github/workflows/update-nightly.yml +++ b/.github/workflows/update-nightly.yml @@ -20,6 +20,7 @@ on: name: Set nightly branch to master HEAD jobs: master-to-nightly: + if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks runs-on: ubuntu-latest steps: - uses: zofrex/mirror-branch@v1