diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index d914e419..be459b37 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -39,7 +39,7 @@ jobs: shell: Rscript {0} - uses: codecov/codecov-action@v4 - if: github.event.repository.fork == true + if: github.event.repository.fork == true || github.event_name == 'pull_request' with: # Fail if error if not on PR, or if on PR and token is given fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}