Commit c803b6e
committed
fix(ci): added the missing permissions block
The workflow declared no `permissions:` block and fell back to the
repository default, which grants only contents and packages read. The
called module requests further scopes, so GitHub refused to start the
run with "is only allowed <scope>: none".
A called workflow's `permissions:` block is a request ceiling, not a
grant - the token is minted from the caller's scopes. Added a block
granting exactly the scopes the called module declares, no more.1 parent a710a81 commit c803b6e
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
| |||
0 commit comments