Skip to content

Commit 036ccc5

Browse files
chore(ci): only use depot for staging repos
1 parent 7f0b97b commit 036ccc5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
lint:
1717
timeout-minutes: 10
1818
name: lint
19-
runs-on: depot-ubuntu-24.04
19+
runs-on: ${{ github.repository == 'stainless-sdks/cloudflare-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
2020
steps:
2121
- uses: actions/checkout@v4
2222

@@ -34,7 +34,7 @@ jobs:
3434
build:
3535
timeout-minutes: 5
3636
name: build
37-
runs-on: depot-ubuntu-24.04
37+
runs-on: ${{ github.repository == 'stainless-sdks/cloudflare-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
3838
permissions:
3939
contents: read
4040
id-token: write
@@ -69,7 +69,7 @@ jobs:
6969
test:
7070
timeout-minutes: 10
7171
name: test
72-
runs-on: depot-ubuntu-24.04
72+
runs-on: ${{ github.repository == 'stainless-sdks/cloudflare-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
7373
steps:
7474
- uses: actions/checkout@v4
7575

@@ -86,7 +86,7 @@ jobs:
8686
examples:
8787
timeout-minutes: 10
8888
name: examples
89-
runs-on: depot-ubuntu-24.04
89+
runs-on: ${{ github.repository == 'stainless-sdks/cloudflare-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
9090
if: github.repository == 'cloudflare/cloudflare-typescript'
9191

9292
steps:

.github/workflows/publish-npm.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
@@ -12,7 +12,7 @@ concurrency:
1212
jobs:
1313
release_doctor:
1414
name: release doctor
15-
runs-on: depot-ubuntu-24.04
15+
runs-on: ubuntu-latest
1616
timeout-minutes: 2
1717
if: github.repository == 'cloudflare/cloudflare-typescript' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1818

0 commit comments

Comments
 (0)