From a0d65c3c5938828b499c04d06b75f597f724a5e3 Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Thu, 25 Apr 2024 17:22:19 +0200 Subject: [PATCH] ci: use codecov token when uploading coverage Signed-off-by: Richard Steinmetz --- .github/workflows/npm-test.yml | 1 + .github/workflows/php-test.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index 58ceeb8d77..64cbd2a7e4 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -36,6 +36,7 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 with: + token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage/coverage-final.json flags: javascript fail_ci_if_error: true diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index 7fef20f017..16f5643efa 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -53,6 +53,7 @@ jobs: if: ${{ matrix.nextcloud-versions == 'master' }} uses: codecov/codecov-action@v1 with: + token: ${{ secrets.CODECOV_TOKEN }} file: nextcloud/apps/calendar/clover.unit.xml flags: php fail_ci_if_error: true