From 6ea22e4f9f10958d8440273f1add7e9c7e48422e Mon Sep 17 00:00:00 2001 From: Earlopain <14981592+Earlopain@users.noreply.github.com> Date: Sat, 2 Nov 2024 18:22:22 +0100 Subject: [PATCH] Allow disabling the scheduled run As it happens there is an issue with httpx right now --- .github/workflows/checks.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index e9dff73..ffc169e 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -22,6 +22,9 @@ permissions: jobs: tests: runs-on: ubuntu-latest + # Allow disabling scheduled runs when an issue has been found. Also stops it from running on forks. + # Configure at https://github.com/Earlopain/FoxTrove/settings/variables/actions + if: (github.event_name == 'schedule' && vars.ALLOW_SCHEDULED_RUN == 'true') || github.event_name != 'schedule' env: BLEEDING_EDGE: ${{ (inputs.bleeding_edge == true || github.event_name == 'schedule') && 'true' || 'false' }}