From 57a10214e99d35a51708eb33bd92f50a77b9bcf6 Mon Sep 17 00:00:00 2001 From: iProdigy <8106344+iProdigy@users.noreply.github.com> Date: Tue, 8 Oct 2024 08:58:01 +0000 Subject: [PATCH] chore: disable scheduled resource updates on forks (#567) --- .github/workflows/update-resources.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-resources.yml b/.github/workflows/update-resources.yml index e74d5a11..a8dd02ee 100644 --- a/.github/workflows/update-resources.yml +++ b/.github/workflows/update-resources.yml @@ -6,6 +6,7 @@ on: jobs: update-resources: + if: ${{ github.repository_owner == 'pajlads' || github.event_name == 'workflow_dispatch' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4