From 48ebb8e416b2daceb5350f2c1e58985880470813 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Mon, 8 Nov 2021 15:11:25 +0000 Subject: [PATCH] scheduling the sanity tests to run nightly instead of via push --- .github/workflows/sanity_test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sanity_test.yml b/.github/workflows/sanity_test.yml index 3ab0017ce2..df268bd0a4 100644 --- a/.github/workflows/sanity_test.yml +++ b/.github/workflows/sanity_test.yml @@ -1,9 +1,9 @@ name: Sanity Test on: - pull_request: { } - push: - branches: [ main, develop ] + schedule: + # At 20:00 every day UTC + - cron: '0 20 * * *' # Enrich gradle.properties for CI/CD env: @@ -21,6 +21,8 @@ jobs: api-level: [28] steps: - uses: actions/checkout@v2 + with: + ref: develop - name: Set up Python 3.8 uses: actions/setup-python@v2 with: