ci(workflows): prefer seahaven-ubuntu when the runner pool is up (#166)
Some checks are pending
ci / isolation-tests (push) Waiting to run
ci / actionlint (push) Waiting to run
ci / ci-complete (push) Blocked by required conditions
Release on reusable change / version (push) Waiting to run
Release on reusable change / release (push) Blocked by required conditions

This commit is contained in:
Adam Moussa 2026-10-06 17:50:42 -04:00 • committed by GitHub
parent ee6102f52f
commit e753ea0767
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 38 additions and 19 deletions

View file

@ -14,7 +14,8 @@ permissions:
contents: read contents: read
jobs: jobs:
dependency-review: dependency-review:
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
steps: steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0 - uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0

View file

@ -35,7 +35,8 @@ concurrency:
jobs: jobs:
label: label:
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
steps: steps:
- name: Write central label rules - name: Write central label rules
run: | run: |

View file

@ -88,7 +88,8 @@ jobs:
autofix: autofix:
name: autofix name: autofix
if: ${{ github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork }} if: ${{ github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork }}
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
timeout-minutes: 15 timeout-minutes: 15
concurrency: concurrency:
group: ci-autofix-${{ github.workflow }}-${{ github.ref }} group: ci-autofix-${{ github.workflow }}-${{ github.ref }}

View file

@ -48,7 +48,8 @@ permissions:
jobs: jobs:
docker: docker:
name: docker name: docker
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
timeout-minutes: 30 timeout-minutes: 30
concurrency: concurrency:
group: ci-docker-${{ github.workflow }}-${{ github.ref }}-${{ inputs.context }}-${{ inputs.dockerfile }}-docker group: ci-docker-${{ github.workflow }}-${{ github.ref }}-${{ inputs.context }}-${{ inputs.dockerfile }}-docker

View file

@ -25,7 +25,8 @@ permissions:
jobs: jobs:
ci: ci:
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
timeout-minutes: 20 timeout-minutes: 20
concurrency: concurrency:
group: ci-dotnet-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }} group: ci-dotnet-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}

View file

@ -47,7 +47,8 @@ permissions:
jobs: jobs:
guard: guard:
name: guard name: guard
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
timeout-minutes: 10 timeout-minutes: 10
concurrency: concurrency:
group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-guard group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-guard
@ -152,7 +153,8 @@ jobs:
static: static:
name: static name: static
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
timeout-minutes: 15 timeout-minutes: 15
concurrency: concurrency:
group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-static group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-static
@ -177,7 +179,8 @@ jobs:
build: build:
name: build name: build
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
timeout-minutes: 15 timeout-minutes: 15
concurrency: concurrency:
group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-build group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-build
@ -201,7 +204,8 @@ jobs:
unit: unit:
name: unit (${{ matrix.shard }}) name: unit (${{ matrix.shard }})
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
timeout-minutes: 15 timeout-minutes: 15
concurrency: concurrency:
group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-unit-${{ matrix.shard }} group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-unit-${{ matrix.shard }}
@ -234,7 +238,8 @@ jobs:
browser-smoke: browser-smoke:
name: browser-smoke name: browser-smoke
if: ${{ inputs.run-e2e }} if: ${{ inputs.run-e2e }}
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
timeout-minutes: 20 timeout-minutes: 20
concurrency: concurrency:
group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-browser-smoke group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-browser-smoke

View file

@ -119,7 +119,8 @@ permissions:
jobs: jobs:
js: js:
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
timeout-minutes: ${{ inputs.js-timeout-minutes }} timeout-minutes: ${{ inputs.js-timeout-minutes }}
# cancel-in-progress is TRUE: superseding a push should abandon the older # cancel-in-progress is TRUE: superseding a push should abandon the older
# CI run, which produces no external side effects. # CI run, which produces no external side effects.

View file

@ -31,7 +31,8 @@ permissions:
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
timeout-minutes: 10 timeout-minutes: 10
# The trailing segment of every group in this file is the job id written # The trailing segment of every group in this file is the job id written
# out literally, NOT `${{ github.job }}`. In a called workflow that # out literally, NOT `${{ github.job }}`. In a called workflow that

View file

@ -49,7 +49,8 @@ permissions:
jobs: jobs:
ci: ci:
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
timeout-minutes: 10 timeout-minutes: 10
concurrency: concurrency:
group: ci-python-sam-${{ github.workflow }}-${{ github.ref }}-${{ inputs.source-dirs }} group: ci-python-sam-${{ github.workflow }}-${{ github.ref }}-${{ inputs.source-dirs }}

View file

@ -61,7 +61,8 @@ permissions:
jobs: jobs:
ci: ci:
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
timeout-minutes: 15 timeout-minutes: 15
concurrency: concurrency:
group: ci-static-${{ github.workflow }}-${{ github.ref }} group: ci-static-${{ github.workflow }}-${{ github.ref }}

View file

@ -48,7 +48,8 @@ permissions:
jobs: jobs:
terraform: terraform:
name: terraform name: terraform
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
timeout-minutes: 15 timeout-minutes: 15
concurrency: concurrency:
group: ci-terraform-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }} group: ci-terraform-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}

View file

@ -61,7 +61,8 @@ permissions:
jobs: jobs:
ci: ci:
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
timeout-minutes: 30 timeout-minutes: 30
concurrency: concurrency:
group: ci-typescript-cdk-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }} group: ci-typescript-cdk-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}

View file

@ -80,7 +80,8 @@ permissions:
jobs: jobs:
ci: ci:
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
timeout-minutes: 30 timeout-minutes: 30
concurrency: concurrency:
group: ci-typescript-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }} group: ci-typescript-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}

View file

@ -51,7 +51,8 @@ permissions:
jobs: jobs:
isolation-tests: isolation-tests:
name: isolation-tests name: isolation-tests
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
timeout-minutes: 10 timeout-minutes: 10
steps: steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@ -66,7 +67,8 @@ jobs:
actionlint: actionlint:
name: actionlint name: actionlint
runs-on: ubuntu-latest # Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
timeout-minutes: 10 timeout-minutes: 10
steps: steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1