From ceca0dc08f8b1fa7742c6e1756ccb4f0c6fcb852 Mon Sep 17 00:00:00 2001 From: Alex Boten <223565+codeboten@users.noreply.github.com> Date: Thu, 30 May 2024 10:31:25 -0700 Subject: [PATCH] [chore] ensure codecov uses token (#5687) This was done in the collector & collector-contrib repos and makes tokenless ratelimiting errors go away. --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a686d8255a3..3d370e3be27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,11 +87,12 @@ jobs: cp coverage.html $TEST_RESULTS - name: Upload coverage report uses: codecov/codecov-action@v4.4.1 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: file: ./coverage.txt fail_ci_if_error: true verbose: true - token: ${{ secrets.CODECOV_TOKEN }} - name: Store coverage test output uses: actions/upload-artifact@v4 with: