From 1a8b05ee1292ead082823edec07222bdd43d6845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gamez?= Date: Sat, 22 May 2021 00:50:17 +0200 Subject: [PATCH] Skip coveralls when running on a forked repo --- .github/workflows/test-phpunit.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-phpunit.yml b/.github/workflows/test-phpunit.yml index ef4d323bb598..6fad11c535fd 100644 --- a/.github/workflows/test-phpunit.yml +++ b/.github/workflows/test-phpunit.yml @@ -139,7 +139,7 @@ jobs: DB: ${{ matrix.db-platforms }} TERM: xterm-256color - - if: matrix.php-versions == '7.4' + - if: github.repository_owner == 'codeigniter4' && matrix.php-versions == '7.4' name: Run Coveralls run: | composer global require php-coveralls/php-coveralls:^2.4 @@ -150,6 +150,7 @@ jobs: COVERALLS_FLAG_NAME: PHP ${{ matrix.php-versions }} - ${{ matrix.db-platforms }} coveralls-finish: + if: github.repository_owner == 'codeigniter4' needs: [tests] runs-on: ubuntu-20.04 steps: