From f2431f44c330c900fe81411e1aa6515dab867caa Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 29 Jun 2023 11:25:08 +0100 Subject: [PATCH] Check forks --- .github/workflows/budibase_ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index 5885041078..2fb9410d3b 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -28,14 +28,14 @@ jobs: steps: - name: Checkout repo and submodules uses: actions/checkout@v3 - if: github.repository == 'Budibase/budibase' + if: github.repository == github.event.pull_request.head.repo.full_name with: submodules: true token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }} - name: Checkout repo only uses: actions/checkout@v3 - if: github.repository != 'Budibase/budibase' + if: github.repository != github.event.pull_request.head.repo.full_name - name: Use Node.js 14.x uses: actions/setup-node@v3