Skip to content

Commit 2194102

Browse files
XxdpavelxXclaude
andcommitted
fix(ci): restore id-token permission for build-ios-e2e.yml dispatch
Dropped accidentally during the merge of origin/main into namespace-runner-trial4 (merge commit e7405cc). When resolving the permissions-block conflict, main's version (no permissions block) was chosen — but main only has workflow_call, where permissions inherit from the caller. Phase 4 added workflow_dispatch to this workflow so iOS builds can be manually triggered for Namespace trial validation. Direct workflow_dispatch runs don't inherit permissions from a caller, and setup-e2e-env now assumes an AWS role via OIDC (introduced by main's #29247 "ci: reuse native E2E builds across commits and PRs"), which requires id-token: write. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e7405cc commit 2194102

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build-ios-e2e.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ on:
5252
type: string
5353
default: current
5454

55+
# Needed when this workflow is dispatched directly (workflow_dispatch). When called
56+
# via workflow_call, permissions are inherited from the caller. id-token: write is
57+
# required by setup-e2e-env's AWS OIDC role assumption for signing-cert fetch.
58+
permissions:
59+
contents: read
60+
id-token: write
61+
5562
jobs:
5663
build-ios-apps:
5764
name: Build iOS E2E Apps

0 commit comments

Comments
 (0)