Skip to content

Commit

Permalink
fix(ci): handle correctly dependabot codecov ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
kilianpaquier committed Mar 5, 2024
1 parent a080191 commit 5376c98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
- main
- staging
- develop
- v[0-9]+
- v[0-9]+.[0-9]+
- v[0-9]+.x
- v[0-9]+.[0-9]+.x
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- run: ${{ matrix.os.args }} go test ./... -coverpkg="./..." -covermode="count" -coverprofile="coverage.out"
- uses: codecov/codecov-action@v4
if: ${{ ! startsWith(github.ref_name, 'dependabot') }} # ignore codecov on dependabot branches
if: ${{ ! startsWith(github.base_ref, 'dependabot') }} # ignore codecov on dependabot branches
with:
codecov_yml_path: codecov.yml
disable_search: true
Expand Down

0 comments on commit 5376c98

Please sign in to comment.