diff --git a/.github/workflows/node-test.yml b/.github/workflows/node-test.yml index 38fe54846..5191cf124 100644 --- a/.github/workflows/node-test.yml +++ b/.github/workflows/node-test.yml @@ -80,7 +80,9 @@ jobs: run: npm run test:coverage --if-present - name: Collect coverage - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 + uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4.0.1 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: ./coverage/lcov.info diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index ffc06e3df..4fcd2f69a 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -80,7 +80,9 @@ jobs: - name: Upload Unit coverage if: matrix.php-versions == matrix.coverage-on - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: root_dir: ./apps/${{ env.APP_NAME }} files: ./apps/${{ env.APP_NAME }}/tests/clover.unit.xml @@ -89,7 +91,9 @@ jobs: - name: Upload Integration coverage if: matrix.php-versions == matrix.coverage-on - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: root_dir: ./apps/${{ env.APP_NAME }} files: ./apps/${{ env.APP_NAME }}/tests/clover.integration.xml