Skip to content

Commit

Permalink
check against branch name instead of username
Browse files Browse the repository at this point in the history
  • Loading branch information
phm07 authored and jooola committed Jul 25, 2024
1 parent 92bdad5 commit 360269e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ jobs:
run: go test -coverprofile=coverage.txt -v -race ./...

- name: Upload coverage reports to Codecov
if: github.actor != 'Hetzner Cloud Bot' && github.actor != 'renovate[bot]'
# don't run if branch name starts with 'renovate/' or 'release-please--'
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 360269e

Please sign in to comment.