Skip to content

Commit

Permalink
add env token from secret (#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinsonneau authored Apr 16, 2024
1 parent 1e043fb commit 40a209c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@ jobs:
- name: Report coverage
if: ${{ matrix.go == '1.21' }}
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./cover.out
flags: unittests
fail_ci_if_error: false
fail_ci_if_error: true
verbose: true

bundle-check:
runs-on: ubuntu-latest
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/push_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ jobs:
run: make test
- name: Report coverage
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./cover.out
flags: unittests
fail_ci_if_error: false
fail_ci_if_error: true
verbose: true

0 comments on commit 40a209c

Please sign in to comment.