diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6b504b4..abfc277 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -61,6 +61,9 @@ on: description: "Prevent the workflow run from failing if/when the job fails" required: false type: boolean + secrets: + CODECOV_TOKEN: + required: true jobs: tests: @@ -100,7 +103,7 @@ jobs: - name: "Report Coverage with Codecov" uses: codecov/codecov-action@v5 - if: "${{ inputs.coverage && github.event.pull_request.head.repo.full_name == github.repository }}" + if: "${{ inputs.coverage }}" with: files: lcov.info token: "${{ secrets.CODECOV_TOKEN }}"