From a822073fb2b5d6b6f78a30c7b47ac66f1db0db70 Mon Sep 17 00:00:00 2001 From: Sasha Sorokin <10401817+Brawaru@users.noreply.github.com> Date: Tue, 1 Aug 2023 07:39:18 +0200 Subject: [PATCH] Don't run Deploy workflow on forks --- .github/workflows/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5b0e3e2b53..3680b9136c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,7 @@ on: push jobs: deploy: + if: github.repository_owner == 'modrinth' runs-on: ubuntu-latest permissions: contents: read