Repository navigation
Commit cc1ea9c
authored
fix(ci): grant callers the permissions their reusable workflows declare (#33)
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 751747b commit cc1ea9c
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
0 commit comments