Skip to content

Commit

Permalink
ci: don't upload coverage for renovate or release-please PRs (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola authored Jul 25, 2024
1 parent b68acbb commit 8ec4683
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 @@ -19,6 +19,9 @@ jobs:
run: go test -v -tags integration -race -coverprofile=coverage.txt ./...

- 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 8ec4683

Please sign in to comment.