From 2f179d57684bccc307f14e1b4583cd5680a70605 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 18 Sep 2026 01:22:00 +0000 Subject: [PATCH] ci: migrate all workflows to Namespace runners Move every job in the 10 workflow files (_build, _publish, automerge, check, format, generate, prune, publish, semantic-release, version) from GitHub-hosted `ubuntu-latest` onto profile-labeled Namespace runners. Mapping: - small dispatch/commit/prune/tag/automerge jobs -> namespace-profile-mini - lint / typecheck / install / codegen jobs -> namespace-profile-codegen - npm test matrix -> namespace-profile-npm-test - publish / release / semantic-release -> namespace-profile-standard The `check.yml` matrix `os` (previously single-value `ubuntu-latest`) becomes the Namespace label for that job while keeping `runs-on: ${{ matrix.os }}`. Labels are hard-coded (no `vars.RUNNER_OVERRIDE` fallback) per request. Co-Authored-By: Claude Opus 4.7 Claude-Session: https://claude.ai/code/session_015ZbCLvCAyCca1zguyCbHT5 --- .github/workflows/_build.yml | 2 +- .github/workflows/_publish.yml | 2 +- .github/workflows/automerge.yml | 2 +- .github/workflows/check.yml | 12 ++++++------ .github/workflows/format.yml | 2 +- .github/workflows/generate.yml | 2 +- .github/workflows/prune.yml | 2 +- .github/workflows/publish.yml | 2 +- .github/workflows/semantic-release.yml | 4 ++-- .github/workflows/version.yml | 2 +- 10 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/_build.yml b/.github/workflows/_build.yml index e93d4d7..5aa6e4a 100644 --- a/.github/workflows/_build.yml +++ b/.github/workflows/_build.yml @@ -17,7 +17,7 @@ on: jobs: build: name: Package - runs-on: ubuntu-latest + runs-on: namespace-profile-codegen timeout-minutes: 30 steps: - name: Checkout diff --git a/.github/workflows/_publish.yml b/.github/workflows/_publish.yml index 0403405..67f8ab0 100644 --- a/.github/workflows/_publish.yml +++ b/.github/workflows/_publish.yml @@ -20,7 +20,7 @@ on: jobs: publish: name: Publish package - runs-on: ubuntu-latest + runs-on: namespace-profile-standard timeout-minutes: 30 steps: - name: Checkout diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 531c618..7fb01fb 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -9,7 +9,7 @@ on: jobs: merge: name: Merge - runs-on: ubuntu-latest + runs-on: namespace-profile-mini timeout-minutes: 30 if: github.actor == 'dependabot[bot]' steps: diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 0b81d56..069b3f2 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -18,12 +18,12 @@ jobs: fail-fast: false matrix: os: - - ubuntu-latest + - namespace-profile-npm-test node: - '22' - '24' include: - - os: ubuntu-latest + - os: namespace-profile-npm-test os_name: Linux steps: - name: Checkout @@ -36,7 +36,7 @@ jobs: run: npm test lint: name: Lint (Node.js v${{ matrix.node }}) - runs-on: ubuntu-latest + runs-on: namespace-profile-codegen timeout-minutes: 30 strategy: fail-fast: false @@ -65,12 +65,12 @@ jobs: fail-fast: false matrix: os: - - ubuntu-latest + - namespace-profile-codegen node: - '22' - '24' include: - - os: ubuntu-latest + - os: namespace-profile-codegen os_name: Linux steps: - name: Setup Node.js @@ -111,7 +111,7 @@ jobs: npx --yes --package ${{ steps.packages.outputs.paths }} seam wizard --version typecheck: name: Typecheck (Node.js v${{ matrix.node }}) - runs-on: ubuntu-latest + runs-on: namespace-profile-codegen timeout-minutes: 30 strategy: fail-fast: false diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index e95af01..58ab73f 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -10,7 +10,7 @@ on: jobs: commit: name: Format code - runs-on: ubuntu-latest + runs-on: namespace-profile-mini timeout-minutes: 30 steps: - name: Checkout diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 4f5a046..b8771fd 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -10,7 +10,7 @@ on: jobs: commit: name: Generate code - runs-on: ubuntu-latest + runs-on: namespace-profile-codegen timeout-minutes: 30 steps: - name: Checkout diff --git a/.github/workflows/prune.yml b/.github/workflows/prune.yml index 1c48483..04aa2c9 100644 --- a/.github/workflows/prune.yml +++ b/.github/workflows/prune.yml @@ -9,7 +9,7 @@ on: jobs: branches: name: Prune Branches - runs-on: 'ubuntu-latest' + runs-on: 'namespace-profile-mini' timeout-minutes: 30 permissions: pull-requests: read diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 91a3f3c..b044f9a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,7 @@ jobs: uses: ./.github/workflows/_build.yml release: name: GitHub Releases - runs-on: ubuntu-latest + runs-on: namespace-profile-standard timeout-minutes: 30 needs: build steps: diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index 4b85409..8b5d9d9 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -20,7 +20,7 @@ concurrency: jobs: semantic: name: Determine version - runs-on: ubuntu-latest + runs-on: namespace-profile-standard timeout-minutes: 30 outputs: new_release_published: ${{ steps.release.outputs.new_release_published }} @@ -37,7 +37,7 @@ jobs: dry_run: true release: name: Release version - runs-on: ubuntu-latest + runs-on: namespace-profile-standard timeout-minutes: 30 needs: semantic if: needs.semantic.outputs.new_release_published == 'true' && needs.semantic.outputs.new_release_version != '1.0.0' diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index efa1622..748fafd 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -13,7 +13,7 @@ on: jobs: tag: name: Tag - runs-on: ubuntu-latest + runs-on: namespace-profile-mini timeout-minutes: 30 steps: - name: Checkout