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:
parent
3da855e0cc
commit
ea58dbd507
Notes:
github-actions[bot]
2024-12-07 21:00:41 +00:00
Author: https://github.com/gmta
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:
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue