From bd009bbc6a42ed1183306752b0089c99949e7a6f Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Wed, 16 Apr 2025 15:02:16 +0700 Subject: [PATCH] QFIX: Build for external PRs. (#8579) Signed-off-by: Andrey Sobolev --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 29519685e0..07c57b65d6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -190,6 +190,7 @@ jobs: key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }} restore-keys: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }} - name: Login to Docker Hub + if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} uses: docker/login-action@v3 with: username: hardcoreeng @@ -238,6 +239,7 @@ jobs: run: node common/scripts/install-run-rush.js install - name: Login to Docker Hub + if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} uses: docker/login-action@v3 with: username: hardcoreeng @@ -366,6 +368,7 @@ jobs: run: node common/scripts/install-run-rush.js install - name: Login to Docker Hub + if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} uses: docker/login-action@v3 with: username: hardcoreeng @@ -443,6 +446,7 @@ jobs: run: node common/scripts/install-run-rush.js install - name: Login to Docker Hub + if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} uses: docker/login-action@v3 with: username: hardcoreeng @@ -522,6 +526,7 @@ jobs: run: node common/scripts/install-run-rush.js build -t @hcengineering/tests-sanity - name: Login to Docker Hub + if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} uses: docker/login-action@v3 with: username: hardcoreeng @@ -626,6 +631,7 @@ jobs: run: node common/scripts/install-run-rush.js model-version - name: Login to Docker Hub + if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} uses: docker/login-action@v3 with: username: hardcoreeng