From be7b6ed385f3c810db434491d1f2866004f60581 Mon Sep 17 00:00:00 2001 From: loreloc Date: Mon, 11 Nov 2024 12:01:45 +0000 Subject: [PATCH] disable codecov from PR from forks --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1b141a3e..8f1755cd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,7 +35,7 @@ jobs: run: | ./scripts/coverage.sh --xml - name: Upload coverage reports to Codecov - if: ${{ github.event.push && (github.event.push.ref == github.event.repository.default_branch) }}$ + if: ${{ github.repository == 'april-tools/cirkit' && github.event.push && (github.event.push.ref == github.event.repository.default_branch) }}$ uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }}