diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 292971092b70d..8040169fcb2c8 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -622,9 +622,10 @@ jobs: - name: Upload coverage to Codecov if: fromJSON(inputs.envs).PYSPARK_CODECOV == 'true' uses: codecov/codecov-action@v5 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: ./python/coverage.xml - token: ${{ secrets.CODECOV_TOKEN }} flags: unittests name: PySpark verbose: true