diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index a3bf53327..f426f02f8 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -121,6 +121,7 @@ jobs: - name: Push code coverage to Codecov uses: codecov/codecov-action@v3 with: - files: ./go/src/github.com/${{ github.repository }}/cover.out + file: ./go/src/github.com/${{ github.repository }}/cover.out flags: unittests - fail_ci_if_error: false # see https://github.com/codecov/codecov-action/issues/598 + fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }}