Skip to content

Commit bd7987a

Browse files
committed
Fix stale bot cache issue by adding actions:write permission
The stale workflow was experiencing a caching issue where issues were being perpetually skipped with the message "skipped due being processed during the previous run". This was caused by the workflow lacking the actions:write permission needed to delete/update the cache between runs. Without this permission, the stale action creates a cache of processed issues but cannot delete or update it in subsequent runs, resulting in a 403 error and issues getting stuck in a "perpetually processing" state. This fix adds the actions:write permission as recommended in: actions/stale#1131 Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
1 parent b51a383 commit bd7987a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/stale.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
permissions:
1616
issues: write
1717
pull-requests: write
18+
actions: write
1819
steps:
1920
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d
2021
with:

0 commit comments

Comments
 (0)