Skip to content

Commit

Permalink
ci: don't upload coverage for renovate or release-please PRs (#788)
Browse files Browse the repository at this point in the history
Co-authored-by: jo <[email protected]>
  • Loading branch information
phm07 and jooola authored Jul 25, 2024
1 parent f3fcbd2 commit 860c23c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
run: go test -coverprofile=coverage.txt -v -race ./...

- 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 }}
Expand Down

0 comments on commit 860c23c

Please sign in to comment.