From 08380e548e1bbfd908f3baeac14ad9229a463541 Mon Sep 17 00:00:00 2001 From: Anton Date: Wed, 11 Mar 2026 18:31:50 +0000 Subject: [PATCH] Always build on push to master and workflow_dispatch, gate only scheduled runs --- .github/workflows/build.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index cf9cb92..8d6aadd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -101,9 +101,12 @@ jobs: runs-on: ubuntu-latest needs: version-check if: | - needs.version-check.outputs.build_needed == 'true' && (github.event_name != 'pull_request') && - (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/master')) + ( + (github.event_name == 'push' && github.ref == 'refs/heads/master') || + (github.event_name == 'workflow_dispatch') || + (github.event_name == 'schedule' && needs.version-check.outputs.build_needed == 'true') + ) strategy: fail-fast: false matrix: