Skip to content

Commit 08b8b86

Browse files
authored
ci: don't upload coverage for renovate or release-please PRs (#422)
1 parent 5cbe188 commit 08b8b86

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
run: tox -- --cov --cov-report=xml
3030

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

0 commit comments

Comments
 (0)