mirror of
https://github.com/zebrajr/tensorflow.git
synced 2026-01-15 12:15:41 +00:00
set update-nightly.yml permissions
Signed-off-by: Joyce <joycebrum@google.com>
This commit is contained in:
5
.github/workflows/update-nightly.yml
vendored
5
.github/workflows/update-nightly.yml
vendored
@@ -18,10 +18,15 @@ on:
|
||||
schedule:
|
||||
- cron: 0 4 * * * # 4am UTC is 9pm PDT and 8pm PST
|
||||
name: Set nightly branch to master HEAD
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
master-to-nightly:
|
||||
if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- uses: zofrex/mirror-branch@a8809f0b42f9dfe9b2c5c2162a46327c23d15266 # v1.0.3
|
||||
name: Set nightly branch to master HEAD
|
||||
|
||||
Reference in New Issue
Block a user