From 14603457c8fed75faf7cc106240dc1f71a9735a1 Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Thu, 26 Feb 2026 17:14:45 +0800 Subject: [PATCH 1/2] GitHubActions: prevent forks' CI to fail on schedule triggers Because schedule triggers are meant to be a tool for maintainers, not contributors (as a contributor, you normally only fork before creating a PR, but you don't "maintain" your fork). --- .github/workflows/build+test+deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build+test+deploy.yml b/.github/workflows/build+test+deploy.yml index 1aa9c4182..94ab140d5 100644 --- a/.github/workflows/build+test+deploy.yml +++ b/.github/workflows/build+test+deploy.yml @@ -16,6 +16,8 @@ on: jobs: buildAndTest: + # Only run if the event is NOT 'schedule' (e.g., 'push') OR if the event is 'schedule' AND the repo is not a fork + if: ${{ (github.event_name != 'schedule') || (github.event_name == 'schedule' && github.event.repository.fork == false) }} strategy: matrix: From 56c21af8ae8fe5fe1f8266ab53c7254442be529d Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Thu, 26 Feb 2026 17:22:24 +0800 Subject: [PATCH 2/2] GitHubActions: simplfy condition --- .github/workflows/build+test+deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build+test+deploy.yml b/.github/workflows/build+test+deploy.yml index 94ab140d5..df3e68688 100644 --- a/.github/workflows/build+test+deploy.yml +++ b/.github/workflows/build+test+deploy.yml @@ -17,7 +17,7 @@ on: jobs: buildAndTest: # Only run if the event is NOT 'schedule' (e.g., 'push') OR if the event is 'schedule' AND the repo is not a fork - if: ${{ (github.event_name != 'schedule') || (github.event_name == 'schedule' && github.event.repository.fork == false) }} + if: ${{ (github.event_name != 'schedule') || github.event.repository.fork == false }} strategy: matrix: