CI: Set actions permission for stalebot
The stale action has a weird interaction with the cache which requires the `actions: write` permission. Without this, it is unable to overwrite any existing cache key.
This commit is contained in:
parent
3da855e0cc
commit
ea58dbd507
1 changed files with 3 additions and 0 deletions
3
.github/workflows/stale.yml
vendored
3
.github/workflows/stale.yml
vendored
|
|
@ -10,6 +10,9 @@ on:
|
|||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-24.04
|
||||
permissions:
|
||||
actions: write # required for cache management (see https://github.com/actions/stale/issues/1133)
|
||||
pull-requests: write
|
||||
steps:
|
||||
# replace `uses:` below with upstream actions/stale when https://github.com/actions/stale/issues/1136 is fixed
|
||||
- uses: itchyny/actions-stale@0980a21d84c23bd4d8c62b0958f47f25822286f2
|
||||
|
|
|
|||
Loading…
Reference in a new issue