From f721f9beb8bf96f1dfb0e16c65d9823ccefb402e Mon Sep 17 00:00:00 2001 From: Chris Vigelius Date: Wed, 9 Oct 2024 15:42:26 +0000 Subject: [PATCH] don't run coverall in forks --- .github/workflows/test_and_coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_and_coverage.yml b/.github/workflows/test_and_coverage.yml index f8c6378..43ff36f 100644 --- a/.github/workflows/test_and_coverage.yml +++ b/.github/workflows/test_and_coverage.yml @@ -32,7 +32,7 @@ jobs: isort . black . - name: Report to coverall # by the package as the action is broken, but won't work on external forks! - if: matrix.python-version == 3.7 + if: matrix.python-version == 3.7 && github.repository == 'jonasundderwolf/django-image-cropping' env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} run: |