From bb6d7d610b8444e14895e393e85be5f484accc5d Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 29 Jun 2023 12:38:12 +0100 Subject: [PATCH] check-pro-submodule --- .github/workflows/budibase_ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index d09793385d..4ada96accc 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -169,18 +169,14 @@ jobs: check-pro-submodule: runs-on: ubuntu-latest + if: github.repository == github.event.pull_request.head.repo.full_name steps: - name: Checkout repo and submodules uses: actions/checkout@v3 - 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 != github.event.pull_request.head.repo.full_name - - name: Check pro commit id: get_pro_commits run: |