Fix stale bot cache issue by adding actions:write permission#1289
Fix stale bot cache issue by adding actions:write permission#1289tpantelis merged 3 commits intosubmariner-io:develfrom
Conversation
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
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>
|
🤖 Created branch: z_pr1289/tpantelis/fix-stale-bot-cache-issue |
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai approve |
✅ Actions performedComments resolved and changes approved. |
|
🤖 Closed branches: [z_pr1289/tpantelis/fix-stale-bot-cache-issue] |
Summary
This PR fixes a caching issue in the stale workflow where issues are being perpetually skipped with the message "skipped due being processed during the previous run".
Problem
The stale workflow was lacking the
actions:writepermission needed to delete/update the cache between runs. Without this permission:Solution
Add
actions:writeto the job permissions in.github/workflows/stale.yml.References