Repository navigation
Commit ed324bf
authored
fix(ci): grant callers the permissions their reusable workflows declare (#754)
GitHub refuses these runs at workflow-creation time: `Error calling
workflow ... The workflow is requesting '<perm>', but is only allowed
'<none>'.` A `workflow_call` job must grant a superset of the callee's
declared permissions. This adds the canonical grant (`actions: read`,
`contents: read`, `security-events: write`) that the healthy repos
already carry.1 parent 6a6dc4b commit ed324bf
3 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
0 commit comments