From 1950da3f17629872086c1763058f0cb59db58b10 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Mon, 5 Feb 2024 22:19:19 +0000 Subject: [PATCH] Build/Test Tools: Pass a token to the Codecov action. Version 4 of the action now requires a token to be provided in order to upload coverage results. Follow up to [57534]. Props swissspidy. See #59658. git-svn-id: https://develop.svn.wordpress.org/trunk@57536 602fd350-edb4-49c9-b593-d223f7449a82 --- .github/workflows/test-coverage.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index a32111f52c..b99a4625bd 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -154,6 +154,7 @@ jobs: if: ${{ ! matrix.multisite && github.event_name != 'pull_request' }} uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4.0.1 with: + token: ${{ secrets.CODECOV_TOKEN }} file: wp-code-coverage-single-clover-${{ github.sha }}.xml flags: single,php fail_ci_if_error: true @@ -169,6 +170,7 @@ jobs: if: ${{ matrix.multisite && github.event_name != 'pull_request' }} uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4.0.1 with: + token: ${{ secrets.CODECOV_TOKEN }} file: wp-code-coverage-multisite-clover-${{ github.sha }}.xml flags: multisite,php fail_ci_if_error: true