From 7467281580e1a43db7f9611032134bd5f46be7fb Mon Sep 17 00:00:00 2001 From: Austin Anderson Date: Mon, 5 Oct 2020 14:54:33 -0700 Subject: [PATCH] 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. --- .github/workflows/update-nightly.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/update-nightly.yml diff --git a/.github/workflows/update-nightly.yml b/.github/workflows/update-nightly.yml new file mode 100644 index 00000000000..8e04888fac0 --- /dev/null +++ b/.github/workflows/update-nightly.yml @@ -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'