From 2d185e191994e7a116b6f2bd74bbd1ee1f98e421 Mon Sep 17 00:00:00 2001 From: Martin Wiethan <47688561+Marterich@users.noreply.github.com> Date: Wed, 31 Jul 2024 04:14:36 +0200 Subject: [PATCH] Disable the Generate Sponsors Cronjob on Forks (#2473) * Compile Winutil * Only run Sponsor Cron on Main Repo * Remove winutil from pR --------- Co-authored-by: Marterich --- .github/workflows/sponsors.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sponsors.yml b/.github/workflows/sponsors.yml index 6a0e22b0..d7668b4a 100644 --- a/.github/workflows/sponsors.yml +++ b/.github/workflows/sponsors.yml @@ -8,6 +8,7 @@ permissions: jobs: deploy: runs-on: ubuntu-latest + if: (github.event_name == 'schedule' && github.repository == 'ChrisTitusTech/winutil') || (github.event_name != 'schedule') steps: - name: Checkout 🛎️ uses: actions/checkout@v4