From 4aa9869c1d5951b6be0fa945680541f921c635aa Mon Sep 17 00:00:00 2001 From: Sanjay Chacku Purakal <48321566+twoneis@users.noreply.github.com> Date: Wed, 24 Apr 2024 12:58:53 +0200 Subject: [PATCH] don't build on every push --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce9d362..79f57ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,8 +1,9 @@ name: CI on: - push: - pull_request: + workflow_dispatch: # allows manual triggering + schedule: + - cron: '5 0 * * 6' # runs weekly on Saturday at 00:05 (give time for flake lock update) env: TARGET_FLAKE: github:${{ github.repository }}/${{ inputs.sha || github.sha }}