From c5930ec0b646d061c2d9f286f6c13e25221fa1aa Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Fri, 17 Nov 2023 18:23:31 +0100 Subject: [PATCH] Revert fixing oss contributor --- .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 5b56bd7edc..7929da12e7 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -19,7 +19,7 @@ env: PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} NX_BASE_BRANCH: origin/${{ github.base_ref }} USE_NX_AFFECTED: ${{ github.event_name == 'pull_request' }} - IS_OSS_CONTRIBUTOR: true + IS_OSS_CONTRIBUTOR: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != 'Budibase/budibase' }} jobs: lint: @@ -200,7 +200,7 @@ jobs: - run: yarn --frozen-lockfile - name: Build packages run: yarn build --scope @budibase/server --scope @budibase/worker - - name: Build pro for OSS contributor + - name: Build backend-core for OSS contributor (required for pro) if: ${{ env.IS_OSS_CONTRIBUTOR == 'true' }} run: yarn build --scope @budibase/backend-core - name: Run tests