Skip to content

Commit e8a6836

Browse files
chore(ci): only use depot for staging repos
1 parent 5203afe commit e8a6836

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci.yml

+2-2
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/finch-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
1616
steps:
1717
- uses: actions/checkout@v4
1818

@@ -33,7 +33,7 @@ jobs:
3333
test:
3434
timeout-minutes: 10
3535
name: test
36-
runs-on: depot-ubuntu-24.04
36+
runs-on: ${{ github.repository == 'stainless-sdks/finch-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
3737
steps:
3838
- uses: actions/checkout@v4
3939

.github/workflows/publish-pypi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
publish:
1313
name: publish
14-
runs-on: depot-ubuntu-24.04
14+
runs-on: ubuntu-latest
1515

1616
steps:
1717
- 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
if: github.repository == 'Finch-API/finch-api-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1313

1414
steps:

0 commit comments

Comments
 (0)