2222 description : ' PR number to update fixtures for'
2323 required : true
2424 type : string
25+ runner_provider :
26+ description : Runner provider for this manual trial run
27+ required : false
28+ type : choice
29+ options :
30+ - current
31+ - namespace
32+ default : current
2533
2634jobs :
2735 # ── issue_comment dispatcher ──────────────────────────────────────────
3442 github.event.issue.pull_request &&
3543 startsWith(github.event.comment.body, '@metamaskbot update-mobile-fixture')
3644 }}
37- runs-on : ubuntu-latest
45+ runs-on : ${{ inputs.runner_provider == 'namespace' && 'namespace-profile-metamask-ci-linux' || ' ubuntu-latest' }}
3846 timeout-minutes : 5
3947 permissions :
4048 actions : write
7684 is-fork-pull-request :
7785 name : Validate PR
7886 if : ${{ github.event_name == 'workflow_dispatch' }}
79- runs-on : ubuntu-latest
87+ runs-on : ${{ inputs.runner_provider == 'namespace' && 'namespace-profile-metamask-ci-linux' || ' ubuntu-latest' }}
8088 timeout-minutes : 5
8189 outputs :
8290 IS_FORK : ${{ steps.is-fork.outputs.IS_FORK }}
93101
94102 prepare :
95103 name : Prepare build artifacts
96- runs-on : ubuntu-latest
104+ runs-on : ${{ inputs.runner_provider == 'namespace' && 'namespace-profile-metamask-ci-linux' || ' ubuntu-latest' }}
97105 timeout-minutes : 10
98106 needs : is-fork-pull-request
99107 if : ${{ needs.is-fork-pull-request.outputs.IS_FORK == 'false' }}
@@ -172,7 +180,7 @@ jobs:
172180 name : Export & update fixtures
173181 needs : [is-fork-pull-request, prepare]
174182 if : ${{ needs.prepare.result == 'success' && needs.is-fork-pull-request.outputs.IS_FORK == 'false' }}
175- runs-on : ${{ startsWith(github.base_ref, 'release/') && fromJSON('["ghcr.io/cirruslabs/macos-runner:tahoe"]') || fromJSON('["ghcr.io/cirruslabs/macos-runner:tahoe", "low-priority"]') }}
183+ runs-on : ${{ inputs.runner_provider == 'namespace' && 'namespace-profile-metamask-ios-e2e' || ( startsWith(github.base_ref, 'release/') && fromJSON('["ghcr.io/cirruslabs/macos-runner:tahoe"]') || fromJSON('["ghcr.io/cirruslabs/macos-runner:tahoe", "low-priority"]') ) }}
176184 timeout-minutes : 30
177185
178186 env :
@@ -257,7 +265,7 @@ jobs:
257265
258266 commit-updated-fixtures :
259267 name : Commit the updated fixtures
260- runs-on : ubuntu-latest
268+ runs-on : ${{ inputs.runner_provider == 'namespace' && 'namespace-profile-metamask-ci-linux' || ' ubuntu-latest' }}
261269 timeout-minutes : 10
262270 permissions :
263271 contents : write
@@ -335,7 +343,7 @@ jobs:
335343
336344 check-status :
337345 name : Check whether the fixture update succeeded
338- runs-on : ubuntu-latest
346+ runs-on : ${{ inputs.runner_provider == 'namespace' && 'namespace-profile-metamask-ci-linux' || ' ubuntu-latest' }}
339347 timeout-minutes : 5
340348 if : ${{ !cancelled() && needs.is-fork-pull-request.outputs.IS_FORK == 'false' }}
341349 needs :
@@ -356,7 +364,7 @@ jobs:
356364 failure-comment :
357365 name : Comment about the fixture update failure
358366 if : ${{ !cancelled() && needs.is-fork-pull-request.outputs.IS_FORK == 'false' }}
359- runs-on : ubuntu-latest
367+ runs-on : ${{ inputs.runner_provider == 'namespace' && 'namespace-profile-metamask-ci-linux' || ' ubuntu-latest' }}
360368 timeout-minutes : 5
361369 permissions :
362370 contents : read
0 commit comments