Skip to content

Commit

Permalink
Ensure that we run offline test analytics on PRs
Browse files Browse the repository at this point in the history
The ref can also reference a branch when it's merged. Ensure that we're
only running this for a PR.
  • Loading branch information
michelletran-codecov committed Oct 3, 2024
1 parent 5fb28a6 commit 4b12a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,6 @@ jobs:
path: "test_results"
merge-multiple: true
- name: Dogfooding codecov-cli
if: ${{ !cancelled() && github.ref }}
if: ${{ !cancelled() && github.ref && contains(github.ref, 'pull') }}
run: |
codecovcli process-test-results --provider-token ${{ secrets.GITHUB_TOKEN }} --dir test_results

0 comments on commit 4b12a0e

Please sign in to comment.