Skip to content

Commit

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

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

Expand Down

0 comments on commit 26fe9a9

Please sign in to comment.