Skip to content

Commit 0423938

Browse files
committed
Conditionally using buildjet like in other workflows
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent 5194d10 commit 0423938

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nightly-gauntlet.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
# While GitHub's toaster runners are likelier to flake, we want consistency
1212
# between this environment and the regular test environment for DataDog
1313
# statistics and to only show real workflow threats.
14-
runs-on: "buildjet-8vcpu-ubuntu-2204"
14+
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
1515
# This runner costs 0.016 USD per minute,
1616
# so 0.016 * 240 = 3.84 USD per run.
1717
timeout-minutes: 240
@@ -40,7 +40,7 @@ jobs:
4040

4141
go-timing:
4242
# We run these tests with p=1 so we don't need a lot of compute.
43-
runs-on: "buildjet-2vcpu-ubuntu-2204"
43+
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-2vcpu-ubuntu-2204' || 'ubuntu-latest' }}
4444
timeout-minutes: 10
4545
steps:
4646
- name: Checkout

0 commit comments

Comments
 (0)