Set the "nightly" branch to master HEAD every day

This GitHub Actions workflow runs every night at 8pm PDT / 9pm PST, and
sets the "nightly" branch to whatever master HEAD is at that time. The
TensorFlow team uses this branch for our suite of nightly tests, NOT for
the "tf-nightly" releases.
This commit is contained in:
Austin Anderson 2020-10-05 14:54:33 -07:00
parent 9c4a57e69b
commit 7467281580

13
.github/workflows/update-nightly.yml vendored Normal file
View File

@ -0,0 +1,13 @@
on:
workflow_dispatch: # Allow manual triggers
schedule:
- cron: 0 4 * * * # 4am UTC is 9pm PDT and 8pm PST
name: Set nightly branch to master HEAD
jobs:
master-to-nightly:
runs-on: ubuntu-latest
steps:
- uses: zofrex/mirror-branch@v1
name: Set nightly branch to master HEAD
with:
target-branch: 'nightly'