Skip to content

Commit

Permalink
Pass CODECOV_TOKEN to codecov/codecov-action
Browse files Browse the repository at this point in the history
According to the Codecov documentation, "token-less uploading is only
available to forks attempting to create PRs on public repositories", and
we need to be able to run builds after merging, or for PRs from a doctrine
repository to itself (typically, a merge up).

See https://docs.codecov.com/docs/codecov-uploader#supporting-token-less-uploads-for-forks-of-open-source-repos-using-codecov
  • Loading branch information
greg0ire committed May 3, 2024
1 parent 1dbf796 commit 5c61eff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,5 @@ jobs:
uses: "codecov/codecov-action@v4"
with:
directory: "reports"
env:
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"

0 comments on commit 5c61eff

Please sign in to comment.