From 97bbb31e8e472e1b571f9725d870317dec1c7cc2 Mon Sep 17 00:00:00 2001 From: Anthony Date: Mon, 19 Aug 2024 13:09:41 -0700 Subject: [PATCH] No codecov for forked repositroy pull request updates - Codecoverage was throwing rate limiting errors and thus failing CI. -https://github.com/ad12/DOSMA/actions/runs/10459944994/job/28965177349#step:7:83 - Therefore, add if statement to no push codecov under these circumstances. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9bbed8e..f86cb7e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,6 +110,7 @@ jobs: make test-cov - name: Upload to codecov.io + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository uses: codecov/codecov-action@v1 with: file: ./coverage.xml