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