Skip to content

Commit 39ed172

Browse files
authored
Don't run nightly update job in forks.
1 parent bbeb726 commit 39ed172

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/update-nightly.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on:
2020
name: Set nightly branch to master HEAD
2121
jobs:
2222
master-to-nightly:
23+
if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
2324
runs-on: ubuntu-latest
2425
steps:
2526
- uses: zofrex/mirror-branch@v1

0 commit comments

Comments
 (0)