Skip to content

Commit

Permalink
ci: don't upload coverage for renovate or release-please PRs (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Jul 25, 2024
1 parent 5cbe188 commit 08b8b86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
run: tox -- --cov --cov-report=xml

- name: Upload coverage reports to Codecov
if: >
!startsWith(github.head_ref, 'renovate/') &&
!startsWith(github.head_ref, 'release-please--')
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 08b8b86

Please sign in to comment.