
























@@ -38,7 +38,7 @@ jobs:
3838permissions:
3939contents: read
4040if: github.event_name != 'pull_request' || !github.event.pull_request.draft
41-runs-on: ubuntu-24.04
41+runs-on: ${{ github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04') }}
4242timeout-minutes: 20
4343outputs:
4444checkout_revision: ${{ steps.checkout_ref.outputs.sha }}
@@ -301,7 +301,7 @@ jobs:
301301permissions:
302302contents: read
303303if: github.event_name != 'pull_request' || !github.event.pull_request.draft
304-runs-on: ubuntu-24.04
304+runs-on: ${{ github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04') }}
305305timeout-minutes: 20
306306env:
307307PRE_COMMIT_HOME: .cache/pre-commit-security-fast
@@ -394,7 +394,7 @@ jobs:
394394permissions:
395395contents: read
396396if: github.event_name != 'pull_request' || !github.event.pull_request.draft
397-runs-on: ubuntu-24.04
397+runs-on: ${{ github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04') }}
398398timeout-minutes: 10
399399steps:
400400 - name: Checkout
@@ -419,7 +419,7 @@ jobs:
419419permissions: {}
420420needs: [security-scm-fast, security-dependency-audit]
421421if: ${{ !cancelled() && always() && (github.event_name != 'pull_request' || !github.event.pull_request.draft) }}
422-runs-on: ubuntu-24.04
422+runs-on: ${{ github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04') }}
423423timeout-minutes: 5
424424steps:
425425 - name: Verify fast security jobs
@@ -834,7 +834,7 @@ jobs:
834834name: checks-fast-contracts-plugins
835835needs: [preflight, checks-fast-plugin-contracts-shard]
836836if: ${{ !cancelled() && always() && needs.preflight.outputs.run_plugin_contracts_shards == 'true' }}
837-runs-on: ubuntu-24.04
837+runs-on: ${{ github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04') }}
838838timeout-minutes: 5
839839steps:
840840 - name: Verify plugin contract shards
@@ -940,7 +940,7 @@ jobs:
940940name: checks-fast-contracts-channels
941941needs: [preflight, checks-fast-channel-contracts-shard]
942942if: ${{ !cancelled() && always() && needs.preflight.outputs.run_checks_fast == 'true' }}
943-runs-on: ubuntu-24.04
943+runs-on: ${{ github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04') }}
944944timeout-minutes: 5
945945steps:
946946 - name: Verify channel contract shards
@@ -962,7 +962,7 @@ jobs:
962962name: "checks-fast-protocol"
963963needs: [preflight]
964964if: needs.preflight.outputs.run_checks_fast == 'true'
965-runs-on: ubuntu-24.04
965+runs-on: ${{ github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04') }}
966966timeout-minutes: 30
967967steps:
968968 - name: Checkout
@@ -1027,7 +1027,7 @@ jobs:
10271027name: ${{ matrix.check_name }}
10281028needs: [preflight, build-artifacts]
10291029if: ${{ !cancelled() && always() && needs.preflight.outputs.run_checks == 'true' && needs.build-artifacts.result == 'success' }}
1030-runs-on: ubuntu-24.04
1030+runs-on: ${{ github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04') }}
10311031timeout-minutes: 5
10321032strategy:
10331033fail-fast: false
@@ -1246,7 +1246,7 @@ jobs:
12461246name: ${{ matrix.check_name }}
12471247needs: [preflight, build-artifacts]
12481248if: ${{ !cancelled() && always() && needs.preflight.outputs.run_checks_node_core_dist == 'true' && needs.build-artifacts.result == 'success' }}
1249-runs-on: ubuntu-24.04
1249+runs-on: ${{ github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04') }}
12501250timeout-minutes: 5
12511251strategy:
12521252fail-fast: false
@@ -1278,7 +1278,7 @@ jobs:
12781278name: checks-node-core
12791279needs: [preflight, checks-node-core-test-nondist-shard, checks-node-core-test-dist-shard]
12801280if: ${{ !cancelled() && always() && needs.preflight.outputs.run_checks == 'true' }}
1281-runs-on: ubuntu-24.04
1281+runs-on: ${{ github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04') }}
12821282timeout-minutes: 5
12831283steps:
12841284 - name: Verify node test shards
@@ -1312,7 +1312,7 @@ jobs:
13121312include:
13131313 - check_name: check-preflight-guards
13141314task: preflight-guards
1315-runner: ubuntu-24.04
1315+runner: blacksmith-4vcpu-ubuntu-2404
13161316 - check_name: check-prod-types
13171317task: prod-types
13181318runner: blacksmith-4vcpu-ubuntu-2404
@@ -1321,16 +1321,16 @@ jobs:
13211321runner: blacksmith-16vcpu-ubuntu-2404
13221322 - check_name: check-dependencies
13231323task: dependencies
1324-runner: ubuntu-24.04
1324+runner: blacksmith-8vcpu-ubuntu-2404
13251325 - check_name: check-policy-guards
13261326task: policy-guards
1327-runner: ubuntu-24.04
1327+runner: blacksmith-4vcpu-ubuntu-2404
13281328 - check_name: check-test-types
13291329task: test-types
13301330runner: blacksmith-4vcpu-ubuntu-2404
13311331 - check_name: check-strict-smoke
13321332task: strict-smoke
1333-runner: ubuntu-24.04
1333+runner: blacksmith-4vcpu-ubuntu-2404
13341334steps:
13351335 - name: Checkout
13361336shell: bash
@@ -1448,7 +1448,7 @@ jobs:
14481448name: "check"
14491449needs: [preflight, check-shard]
14501450if: ${{ !cancelled() && always() && needs.preflight.outputs.run_check == 'true' }}
1451-runs-on: ubuntu-24.04
1451+runs-on: ${{ github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04') }}
14521452timeout-minutes: 5
14531453steps:
14541454 - name: Verify check shards
@@ -1643,7 +1643,7 @@ jobs:
16431643name: "check-additional"
16441644needs: [preflight, check-additional-shard, build-artifacts]
16451645if: ${{ !cancelled() && always() && needs.preflight.outputs.run_check_additional == 'true' }}
1646-runs-on: ubuntu-24.04
1646+runs-on: ${{ github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04') }}
16471647timeout-minutes: 5
16481648steps:
16491649 - name: Verify additional check shards
@@ -1671,7 +1671,7 @@ jobs:
16711671name: "build-smoke"
16721672needs: [preflight, build-artifacts]
16731673if: ${{ !cancelled() && always() && needs.preflight.outputs.run_build_smoke == 'true' && (github.event_name != 'push' || needs.build-artifacts.result == 'success') }}
1674-runs-on: ubuntu-24.04
1674+runs-on: ${{ github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04') }}
16751675timeout-minutes: 5
16761676steps:
16771677 - name: Verify build smoke
@@ -1689,7 +1689,7 @@ jobs:
16891689contents: read
16901690needs: [preflight]
16911691if: needs.preflight.outputs.run_check_docs == 'true'
1692-runs-on: ubuntu-24.04
1692+runs-on: ${{ github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04') }}
16931693timeout-minutes: 20
16941694steps:
16951695 - name: Checkout
@@ -1763,7 +1763,7 @@ jobs:
17631763contents: read
17641764needs: [preflight]
17651765if: needs.preflight.outputs.run_skills_python_job == 'true'
1766-runs-on: ubuntu-24.04
1766+runs-on: ${{ github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04') }}
17671767timeout-minutes: 20
17681768steps:
17691769 - name: Checkout
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。