diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 415cffa38..723569e6c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,6 +13,7 @@ jobs: engine: cruby min_version: 2.7 lint: + if: github.repository == 'ruby/irb' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -24,6 +25,7 @@ jobs: - name: Run rubocop run: bundle exec rubocop irb: + if: github.repository == 'ruby/irb' needs: ruby-versions name: rake test ${{ matrix.ruby }} ${{ matrix.with_latest_reline && '(latest reline)' || '' }} strategy: @@ -49,6 +51,7 @@ jobs: - name: Run tests in isolation run: bundle exec rake test_in_isolation debug-test: + if: github.repository == 'ruby/irb' name: Debug compatibility test runs-on: ubuntu-latest timeout-minutes: 30 @@ -72,6 +75,7 @@ jobs: bundle install bundle exec rake vterm-yamatanooroti: + if: github.repository == 'ruby/irb' needs: ruby-versions name: >- vterm-yamatanooroti ${{ matrix.ruby }} ${{ matrix.with_latest_reline && '(latest reline)' || '' }}