Commit 431d8f7
committed
renovate: Use GitHub app to retrieve a token
As Renovate will run with a different token, there is no need for
specific workflow permissions anymore.
Instead the GitHub app should have sufficient permissions to create a
PullRequest on the repo.
See https://github.com/actions/create-github-app-token/blob/main/README.md
on instructions how to add the GitHub App.
Please note we need to configure following on the repo settings:
variable RENOVATE_APP_ID
secret RENOVATE_PRIVATE_KEY
I named it specific like this so we can dedicate this app specifically
to Renovate and therefore also keep permissions limited to the Renovate
usecase.
Signed-off-by: Marco Franssen <[email protected]>1 parent 7c0528c commit 431d8f7
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 18 | | |
23 | 19 | | |
24 | 20 | | |
25 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | | - | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
0 commit comments