From ce0a56d0ac55c0a14fa6cf685b3b26f24afa0cb6 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Fri, 19 Jul 2024 15:50:34 +0100 Subject: [PATCH] ci: downgrade 'codecov-action' version to v3 `codecov-action@v4` requires an organization-level upload token instead of a single repository upload token [1]. Thus, uploading codecov report fails with the following error when triggered by the push event of a merged pull request: Commit creating failed: {"detail":"You do not have permission to perform this action."} We are temporarily downgrading from v4 to v3 until we can generate an organization-level upload token. [1] https://docs.codecov.com/docs/codecov-uploader#upload-token Signed-off-by: Radostin Stoyanov --- .github/workflows/codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 3c186a80e..9fe2b9ccf 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -48,7 +48,7 @@ jobs: sudo -E make coverage - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v3 with: fail_ci_if_error: true file: test/.coverage/coverage.out