Skip to content

Commit

Permalink
Disable schedule jobs for forks
Browse files Browse the repository at this point in the history
  • Loading branch information
andyw8 committed Feb 11, 2025
1 parent f4439b4 commit 64e7523
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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)' || '' }}
Expand Down

0 comments on commit 64e7523

Please sign in to comment.