From 04f83b65f25037da89dbb86ec0296a4ba81dca92 Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Thu, 13 Jul 2023 14:51:43 +0200 Subject: [PATCH] ci: run builds periodically Without big development activity, thus workflows triggered on changes, CI builds might never run. In the same time distros actually change, so things can get be broken due to external (distro) reasons. This is especially true for development versions, like Debian testing. Run at least once per week, to be sure everything still builds even without development activity. Signed-off-by: Krzysztof Kozlowski --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0eede7e..b1345b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,13 @@ # https://github.com/linux-nfc/neard # name: "Builds" -on: [push, pull_request, workflow_dispatch] +on: + pull_request: + push: + schedule: + # Run at 1:01 PM, every Tuesday + - cron: '1 13 * * 2' + workflow_dispatch: jobs: job: