From dc9f54bea0a3316beaa0ae0ee597174bd6baba5d Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Mon, 22 Apr 2024 22:20:57 -0400 Subject: [PATCH] Add cron config to GitHub Actions to run monthly This will make sure the tests are green even if we're not making regular change sto the code in this repo. --- .github/workflows/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 074d421..91ca565 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,6 +19,16 @@ on: branches: [ main ] pull_request: branches: [ main ] + schedule: + # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule + # + # ┌───────────── minute (0 - 59) + # │ ┌───────────── hour (0 - 23) + # │ │ ┌───────────── day of the month (1 - 31) + # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC) + # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT) + # │ │ │ │ │ + - cron: '1 2 3 * *' # run at 2:01 every month on the 3rd day jobs: build: