Skip to content

Commit 678516c

Browse files
chore(ci): only use depot for staging repos
1 parent c60c38f commit 678516c

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

@@ -30,7 +30,7 @@ jobs:
3030
build:
3131
timeout-minutes: 5
3232
name: build
33-
runs-on: depot-ubuntu-24.04
33+
runs-on: ${{ github.repository == 'stainless-sdks/gitpod-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
3434
permissions:
3535
contents: read
3636
id-token: write
@@ -65,7 +65,7 @@ jobs:
6565
test:
6666
timeout-minutes: 10
6767
name: test
68-
runs-on: depot-ubuntu-24.04
68+
runs-on: ${{ github.repository == 'stainless-sdks/gitpod-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
6969
steps:
7070
- uses: actions/checkout@v4
7171

.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
@@ -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 == 'gitpod-io/gitpod-sdk-typescript' && (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)