Commit 91b83be
committed
fix(release): scope the tap token to contents write
Without a permission-* input, actions/create-github-app-token mints a token
carrying every permission the App installation holds -- here that includes
pull-request write, which cloning and pushing the Homebrew tap never uses.
Supplying one input switches the action to strict opt-in, so the token now
carries contents write and nothing else.1 parent 5859abd commit 91b83be
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
328 | 331 | | |
329 | 332 | | |
330 | 333 | | |
| |||
333 | 336 | | |
334 | 337 | | |
335 | 338 | | |
| 339 | + | |
336 | 340 | | |
337 | 341 | | |
338 | 342 | | |
| |||
0 commit comments