Skip to content

Commit e9a5e8b

Browse files
committed
fix(INFRA-3631): add read-only job-level permissions to shadow CI caller
Add job-level permissions to the shadow-ci caller job so the nested ci.yml can start. All permissions are read-only except id-token:write (required for Namespace runners) to avoid duplicating commit statuses and PR comments that the normal CI pipeline already writes.
1 parent 0b1fa04 commit e9a5e8b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci-namespace-shadow.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ concurrency:
2020
jobs:
2121
shadow-ci:
2222
name: '[shadow] CI'
23+
permissions:
24+
actions: read
25+
contents: read
26+
id-token: write
27+
issues: read
28+
pull-requests: read
29+
statuses: read
2330
uses: ./.github/workflows/ci.yml
2431
with:
2532
runner_provider: namespace

0 commit comments

Comments
 (0)