Skip to content

Commit 82e025b

Browse files
chore(ci): only run for pushes and fork pull requests
1 parent cbb9518 commit 82e025b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
timeout-minutes: 10
1818
name: lint
1919
runs-on: ${{ github.repository == 'stainless-sdks/openai-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
20+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
2021

2122
steps:
2223
- uses: actions/checkout@v4
@@ -33,6 +34,7 @@ jobs:
3334
timeout-minutes: 10
3435
name: test
3536
runs-on: ${{ github.repository == 'stainless-sdks/openai-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
37+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
3638
steps:
3739
- uses: actions/checkout@v4
3840
- name: Set up Ruby

0 commit comments

Comments
 (0)