Commit ea2ae1c
The scheduled upgrade check wrappers declared `contents: read`, which
caps the permissions of the reusable `upgrade-check.yml` they call.
That workflow needs `contents: write` and `pull-requests: write` to
push the upgrade branch and open a draft PR, so every scheduled run
failed immediately with startup_failure:
The workflow is requesting 'contents: write, pull-requests: write',
but is only allowed 'contents: read, pull-requests: none'.
Raise the caller permissions to the ceiling required by the callee so
the scheduled upgrade PR job can actually run.
(cherry picked from commit 8291f37)
Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
1 parent 1b12a49 commit ea2ae1c
File tree
2 files changed
+4
-2
lines changed- .github/workflows
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments