Skip to content

Commit 7835140

Browse files
chore(ci): only use depot for staging repos
1 parent 8b7a805 commit 7835140

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
lint:
1313
timeout-minutes: 10
1414
name: lint
15-
runs-on: depot-ubuntu-24.04
15+
runs-on: ${{ github.repository == 'stainless-sdks/openai-java' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
1616

1717
steps:
1818
- uses: actions/checkout@v4
@@ -34,7 +34,7 @@ jobs:
3434
test:
3535
timeout-minutes: 10
3636
name: test
37-
runs-on: depot-ubuntu-24.04
37+
runs-on: ${{ github.repository == 'stainless-sdks/openai-java' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
3838
steps:
3939
- uses: actions/checkout@v4
4040

@@ -55,7 +55,7 @@ jobs:
5555
examples:
5656
timeout-minutes: 10
5757
name: examples
58-
runs-on: depot-ubuntu-24.04
58+
runs-on: ${{ github.repository == 'stainless-sdks/openai-java' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
5959
if: github.repository == 'openai/openai-java'
6060

6161
steps:

.github/workflows/publish-sonatype.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
publish:
99
name: publish
10-
runs-on: depot-ubuntu-24.04
10+
runs-on: ubuntu-latest
1111

1212
steps:
1313
- uses: actions/checkout@v4

.github/workflows/release-doctor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
release_doctor:
1010
name: release doctor
11-
runs-on: depot-ubuntu-24.04
11+
runs-on: ubuntu-latest
1212
environment: publish
1313
if: github.repository == 'openai/openai-java' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1414

0 commit comments

Comments
 (0)