From 5c61eff09c5e24a0b0f753fa7c50970831f64f45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Fri, 3 May 2024 14:02:24 +0200 Subject: [PATCH] Pass CODECOV_TOKEN to codecov/codecov-action 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 --- .github/workflows/continuous-integration.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index c84f0b5..8dfb408 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -98,3 +98,5 @@ jobs: uses: "codecov/codecov-action@v4" with: directory: "reports" + env: + CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"