1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 01:51:03 +09:00

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:
Jelle Raaijmakers 2024-12-07 21:58:53 +01:00
parent 3da855e0cc
commit ea58dbd507
Notes: github-actions[bot] 2024-12-07 21:00:41 +00:00

View file

@ -10,6 +10,9 @@ on:
jobs: jobs:
stale: stale:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
permissions:
actions: write # required for cache management (see https://github.com/actions/stale/issues/1133)
pull-requests: write
steps: steps:
# replace `uses:` below with upstream actions/stale when https://github.com/actions/stale/issues/1136 is fixed # replace `uses:` below with upstream actions/stale when https://github.com/actions/stale/issues/1136 is fixed
- uses: itchyny/actions-stale@0980a21d84c23bd4d8c62b0958f47f25822286f2 - uses: itchyny/actions-stale@0980a21d84c23bd4d8c62b0958f47f25822286f2