From 21ce9324ea43e33bc4d3c1ad576906ae4770e8a8 Mon Sep 17 00:00:00 2001 From: Martin Yeo Date: Wed, 2 Oct 2024 15:12:23 +0100 Subject: [PATCH] Limit scope of Codecov token. --- .github/workflows/ci-tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 1f56141e..df7d54e2 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -26,7 +26,6 @@ jobs: run: shell: bash -l {0} env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} CYTHON_COVERAGE: 1 ENV_NAME: "ci-tests" strategy: @@ -116,4 +115,6 @@ jobs: - name: "Upload coverage report to Codecov" if: contains(matrix.posargs, '--cov') - uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 \ No newline at end of file + uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 + with: + token: ${{ secrets.CODECOV_TOKEN }}