diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d366c2c9dbb..c3bf58f0b9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -274,7 +274,9 @@ jobs: integration-tests: needs: [check-permissions, build-packages] - if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }} + if: >- + ${{ (github.event_name != 'pull_request' || github.event.pull_request.draft == false) + && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }} name: Integration Tests (${{ matrix.test-name }}, ${{ matrix.test-project }}${{ matrix.next-version && format(', {0}', matrix.next-version) || '' }}) permissions: contents: read