|
25 | 25 | affected: |
26 | 26 | name: affected packages |
27 | 27 | if: ${{ !github.event.pull_request.draft }} |
28 | | - runs-on: blacksmith-4vcpu-ubuntu-2404 |
| 28 | + runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04' }} |
29 | 29 | outputs: |
30 | 30 | e2e: ${{ steps.packages.outputs.app }} |
31 | 31 | steps: |
|
66 | 66 | host: blacksmith-4vcpu-ubuntu-2404 |
67 | 67 | - name: windows |
68 | 68 | host: blacksmith-4vcpu-windows-2025 |
69 | | - runs-on: ${{ matrix.settings.host }} |
| 69 | + runs-on: ${{ github.repository == 'anomalyco/opencode' && matrix.settings.host || (matrix.settings.name == 'windows' && 'windows-2025' || 'ubuntu-24.04') }} |
70 | 70 | defaults: |
71 | 71 | run: |
72 | 72 | shell: bash |
@@ -152,7 +152,7 @@ jobs: |
152 | 152 | host: blacksmith-4vcpu-ubuntu-2404 |
153 | 153 | - name: windows |
154 | 154 | host: blacksmith-4vcpu-windows-2025 |
155 | | - runs-on: ${{ matrix.settings.host }} |
| 155 | + runs-on: ${{ github.repository == 'anomalyco/opencode' && matrix.settings.host || (matrix.settings.name == 'windows' && 'windows-2025' || 'ubuntu-24.04') }} |
156 | 156 | defaults: |
157 | 157 | run: |
158 | 158 | shell: bash |
@@ -231,7 +231,7 @@ jobs: |
231 | 231 | shard: 2/2 |
232 | 232 | - id: session-ui-components |
233 | 233 | - id: app-components |
234 | | - runs-on: ${{ matrix.settings.host }} |
| 234 | + runs-on: ${{ github.repository == 'anomalyco/opencode' && matrix.settings.host || (matrix.settings.name == 'windows' && 'windows-2025' || 'ubuntu-24.04') }} |
235 | 235 | env: |
236 | 236 | PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/.playwright-browsers |
237 | 237 | defaults: |
@@ -327,7 +327,7 @@ jobs: |
327 | 327 | fail-fast: false |
328 | 328 | matrix: |
329 | 329 | os: [linux, windows] |
330 | | - runs-on: blacksmith-4vcpu-ubuntu-2404 |
| 330 | + runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04' }} |
331 | 331 | steps: |
332 | 332 | - name: Check browser test results |
333 | 333 | env: |
|
0 commit comments