Skip to content

Commit a8964e7

Browse files
XxdpavelxXclaude
andcommitted
ci(infra-3596): plumb runner_provider through run-e2e-api-specs.yml
Add runner_provider input to workflow_call so it propagates when this workflow is uses:-called by other workflows, and switch the runs-on expression from github.event.inputs.runner_provider (workflow_dispatch only) to inputs.runner_provider (resolves for both call and dispatch). The api-specs-ios job is currently if: false, so this is YAML-only with no runtime effect — it brings the file in line with the rest of the provider-aware iOS workflows. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b049760 commit a8964e7

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/run-e2e-api-specs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ name: API Specs E2E Tests
55

66
on:
77
workflow_call:
8+
inputs:
9+
runner_provider:
10+
description: Runner provider forwarded from the caller
11+
required: false
12+
type: string
13+
default: current
814
workflow_dispatch:
915
inputs:
1016
runner_provider:
@@ -22,7 +28,7 @@ jobs:
2228
api-specs-ios:
2329
name: 'api-specs-ios'
2430
if: false
25-
runs-on: ${{ github.event.inputs.runner_provider == 'namespace' && 'namespace-profile-metamask-ios-build' || 'macos-latest-xlarge' }}
31+
runs-on: ${{ inputs.runner_provider == 'namespace' && 'namespace-profile-metamask-ios-build' || 'macos-latest-xlarge' }}
2632
continue-on-error: true
2733

2834
env:

0 commit comments

Comments
 (0)