Skip to content

Commit 4297b22

Browse files
committed
GHA: enable the stale action to delete its saved state
It turns out that the stale action is not able to delete its saved state due to missing permissions. As a result, it was not processing issues and PRs, that have been processed once, for almost a month. The error in the job log was: ``` Warning: Error delete _state: [403] Resource not accessible by integration ``` The fix is to add `actions: write` to the action permissions Signed-off-by: Tomáš Hozza <[email protected]>
1 parent fbb1972 commit 4297b22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/stale-cleanup.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
stale:
99
runs-on: ubuntu-latest
1010
permissions:
11+
actions: write # needed to clean up the saved action state
1112
issues: write
1213
pull-requests: write
1314
steps:

0 commit comments

Comments
 (0)