From 21880c24a78a9cb99e44dd9a0bb7761ac663ca66 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sat, 17 Feb 2024 17:40:03 +1100 Subject: [PATCH] Only run cron workflow on source repo --- .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