From 4757304ca6fbb55b41e3b01f1d6c1bf9874cb6be Mon Sep 17 00:00:00 2001 From: Lewis Cowles Date: Tue, 28 Jun 2022 20:54:50 +0100 Subject: [PATCH] Scheduled Builds This can help prevent discovery that CI isn't building after N months, and provide history of when it breaks. 1 month is fine for projects without too much changing. Feel free to ask for adjustment if you feel a week or daily, or some other cron-expressable schedule is more appropriate. --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b6c72ce..3969439 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,8 @@ name: Build on: + schedule: + - cron: '0 0 1 * 0' push: branches: [ main ] pull_request: