Skip to content

Commit 5e775bc

Browse files
committed
Skip coveralls when running on a forked repo
1 parent 029b855 commit 5e775bc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/test-phpunit.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
DB: ${{ matrix.db-platforms }}
139139
TERM: xterm-256color
140140

141-
- if: matrix.php-versions == '7.4'
141+
- if: github.repository_owner == 'codeigniter4' && matrix.php-versions == '7.4'
142142
name: Run Coveralls
143143
run: |
144144
composer global require php-coveralls/php-coveralls:^2.4
@@ -149,6 +149,7 @@ jobs:
149149
COVERALLS_FLAG_NAME: PHP ${{ matrix.php-versions }} - ${{ matrix.db-platforms }}
150150

151151
coveralls-finish:
152+
if: github.repository_owner == 'codeigniter4'
152153
needs: [tests]
153154
runs-on: ubuntu-20.04
154155
steps:

0 commit comments

Comments
 (0)