diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 29d960d..dbc3410 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -70,7 +70,7 @@ jobs: run: | make test_env.upload CODECOV_UPLOAD_TOKEN=${{ secrets.CODECOV_PUBLIC_QA_TOKEN }} CODECOV_URL=${{ secrets.CODECOV_PUBLIC_QA_URL }} - name: run basic-test-results - if: ${{ !cancelled() && !github.event.pull_request.head.repo.fork && github.repository_owner == 'codecov' }} + if: ${{ !cancelled() && github.ref && contains(github.ref, 'pull') && !github.event.pull_request.head.repo.fork && github.repository_owner == 'codecov' }} uses: codecov/basic-test-results@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }}