Commit 33bcfc1
committed
fix(INFRA-3631): add job-level permissions to shadow CI caller
Add job-level permissions to the shadow-ci caller job. With
workflow_call the caller's permissions cap the callee — ci.yml
jobs declare statuses/issues/pull-requests write, so the caller
must grant at least the same or the workflow fails at startup.
Write permissions are required for the workflow to start but the
shadow should not post duplicate statuses or PR comments. A
follow-up will gate those write steps in ci.yml to skip when
running under the shadow workflow.1 parent 0b1fa04 commit 33bcfc1
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
23 | 30 | | |
24 | 31 | | |
25 | 32 | | |
| |||
0 commit comments