diff --git a/.github/workflows/test-bundle.yml b/.github/workflows/test-bundle.yml index 7ffa10a..5e7c04d 100644 --- a/.github/workflows/test-bundle.yml +++ b/.github/workflows/test-bundle.yml @@ -15,8 +15,9 @@ jobs: os: [ubuntu-latest, macos-latest, macos-13] ruby: ['3.0', '3.1', '3.2', '3.3', 'head'] - name: >- - ${{matrix.os}}, ${{matrix.ruby}} + name: ${{matrix.os}}, ${{matrix.ruby}} + + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name runs-on: ${{matrix.os}} steps: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 354c09d..908dba4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,8 +15,9 @@ jobs: os: [ubuntu-latest, macos-latest, macos-13] ruby: ['3.0', '3.1', '3.2', '3.3', 'head'] - name: >- - ${{matrix.os}}, ${{matrix.ruby}} + name: ${{matrix.os}}, ${{matrix.ruby}} + + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name runs-on: ${{matrix.os}} steps: