From bbbe2ebb31ea916bbd6a40346c93693e534c4886 Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Sat, 14 Dec 2024 23:11:32 +0900 Subject: [PATCH] chore: add codecov token parameter --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03331660a89..8364b4502e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,8 +46,9 @@ jobs: PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} - uses: codecov/codecov-action@v5 - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-latest' && github.repository == 'dotnet/docfx' with: + token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true - run: echo "DOTNET_DbgEnableMiniDump=1" >> $GITHUB_ENV