From c4ceccf80c3352fe0b7ac2204c1f878d41ab95ea Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 3 Mar 2021 09:03:43 +0100 Subject: [PATCH] Use Codecov without tokens They are only required for private repos. Signed-off-by: Christoph Wurst --- .github/workflows/npm-test.yml | 1 - .github/workflows/php-test.yml | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index ba4b72bf9..b1862c4c7 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -32,7 +32,6 @@ 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 40c49ac3e..c06713e50 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -55,5 +55,8 @@ jobs: run: composer run test - name: Upload coverage to Codecov if: ${{ matrix.nextcloud-versions == 'master' }} - working-directory: nextcloud/apps/calendar - run: curl -s https://codecov.io/bash | bash -s - -t ${{ secrets.CODECOV_TOKEN }} -F php -f clover.unit.xml -Z + uses: codecov/codecov-action@v1 + with: + file: nextcloud/apps/calendar/clover.unit.xml + flags: php + fail_ci_if_error: true