Skip to content

Commit f116948

Browse files
authored
Merge pull request #1629 from hydephp/update-ci-server-integrations
Internal: Update continuous integration server integrations to better handle forks
2 parents 4338f79 + c78679d commit f116948

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/smoke-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: vendor/bin/pest --stop-on-failure --log-junit report.xml
3232

3333
- name: Ping continuous integration server with test status
34-
if: always()
34+
if: always() && github.event.repository.full_name == 'hydephp/develop'
3535
run: |
3636
bearerToken="${{ secrets.CI_SERVER_TOKEN }}"
3737
commit="${{ github.event.pull_request.head.sha }}"

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ jobs:
2222

2323
# Send the reports to the CI server to calculate type coverage and send back commit status checks
2424
- name: Ping CI server with type coverage results
25+
if: github.event.repository.full_name == 'hydephp/develop'
2526
run: php monorepo/scripts/ping-ci-server-with-type-coverage.php ${{ secrets.CI_SERVER_TOKEN }} ${{ github.event.pull_request.head.sha }} ${{ github.head_ref }} ${{ github.run_id }}

0 commit comments

Comments
 (0)