From 6db50d18a7c9c72084532e91133bdb482f88715e Mon Sep 17 00:00:00 2001 From: Anton Standrik Date: Thu, 21 Nov 2024 13:16:21 +0300 Subject: [PATCH] fix: deploy report condition --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb40d5b54..d2c57d5ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -186,7 +186,7 @@ jobs: deploy_report: name: Deploy Test Report needs: [e2e_tests] - if: ${{always() && (github.ref == 'refs/heads/main' || github.event.pull_request.head.repo.full_name == github.repository)}} + if: ${{always() && (github.ref == 'refs/heads/main' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository))}} runs-on: ubuntu-latest permissions: contents: write