From 998a0a480cfaa85be1da3fc02fbe664790d4e0a1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 18 Nov 2021 15:25:00 -0500 Subject: [PATCH] github: enable cron schedule Since GH is mirroring the code directly from our GoB systems, they aren't triggering push events. Set them up with a daily/weekly cron so we get some level of coverage. Change-Id: I9ececc74a4904e0e3060a10ee1acb952e2021240 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3289899 Reviewed-by: Mark Mentovai --- .github/workflows/build-test-ci.yml | 8 ++++++++ .github/workflows/coverity.yml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/.github/workflows/build-test-ci.yml b/.github/workflows/build-test-ci.yml index 75f6ca21..2196d55f 100644 --- a/.github/workflows/build-test-ci.yml +++ b/.github/workflows/build-test-ci.yml @@ -7,6 +7,14 @@ on: push: branches: [main] + schedule: + # The GH mirroring from Google GoB does not trigger push actions. + # Fire it every other day to provide some coverage. This will run ~8 AM PT. + - cron: '39 3 */2 * *' + + # Allow for manual triggers from the web. + workflow_dispatch: + jobs: autotools: strategy: diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 84e6edaf..cfa0f2ab 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -8,6 +8,14 @@ on: push: branches: [main] + schedule: + # The GH mirroring from Google GoB does not trigger push actions. + # Fire it once a week to provide some coverage. + - cron: '39 2 * * WED' + + # Allow for manual triggers from the web. + workflow_dispatch: + jobs: coverity: runs-on: ubuntu-latest