Don't run nightly update job in forks.

This commit is contained in:
Adam Hillier 2021-02-08 10:14:21 +00:00 committed by GitHub
parent bbeb726402
commit 39ed17282f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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