From a8dda6e8d23722a84d33066420c79bcd8742f8b3 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sat, 17 Feb 2024 17:45:08 +1100 Subject: [PATCH] ci: Only run cron workflow on source repo (#588) --- .github/workflows/fetch-latest-data.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/fetch-latest-data.yml b/.github/workflows/fetch-latest-data.yml index f10ddf528..99a937c72 100644 --- a/.github/workflows/fetch-latest-data.yml +++ b/.github/workflows/fetch-latest-data.yml @@ -7,6 +7,7 @@ on: jobs: update: + if: github.repository == 'svelte-society/sveltesociety.dev' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4