From d5ba55d2fcdd9a0f332416c3e3666f1c8f59bda2 Mon Sep 17 00:00:00 2001 From: Robert Resch Date: Tue, 4 Mar 2025 13:27:51 +0100 Subject: [PATCH] Disable test results upload on forks (#139749) Disable test result uploads on forks --- .github/workflows/ci.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f0b117ab54a..8a999d21b2e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1452,7 +1452,9 @@ jobs: upload-test-results: name: Upload test results to Codecov - if: needs.info.outputs.skip_coverage != 'true' && !cancelled() + # codecov/test-results-action currently doesn't support tokenless uploads + # therefore we can't run it on forks + if: github.repository_owner == 'home-assistant' && needs.info.outputs.skip_coverage != 'true' && !cancelled() runs-on: ubuntu-24.04 needs: - info