Skip to content

Commit abe1c9a

Browse files
shyimflavioheleno
authored andcommitted
ci: publish code climate only on main repo
1 parent a270761 commit abe1c9a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@ on:
44
push:
55
paths-ignore:
66
- "doc/**"
7-
- ".github/**"
87
pull_request:
98
paths-ignore:
109
- "doc/**"
11-
- ".github/**"
10+
1211

1312
jobs:
1413
phpunit:
15-
name: PHP ${{ matrix.php-version }} (${{ matrix.dependency-version }})
14+
name: PHP ${{ matrix.php-version }} (${{ matrix.dependency-versions }})
1615

1716
runs-on: ubuntu-latest
1817
continue-on-error: ${{ matrix.experimental }}
@@ -55,11 +54,12 @@ jobs:
5554
run: composer run-script test-ci
5655

5756
- name: Publish code coverage
57+
if: github.repository == 'beluga-php/docker-php' && github.event_name != 'pull_request'
5858
uses: paambaati/codeclimate-action@a1831d7162ea1fbc612ffe5fb3b90278b7999d59 # v5.0.0
5959
env:
6060
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
6161
with:
6262
coverageCommand: composer run-script test-coverage
6363
coverageLocations: |
6464
${{github.workspace}}/clover.xml:clover
65-
if: github.event_name != 'pull_request'
65+

0 commit comments

Comments
 (0)