Fix stale bot cache issue by adding actions:write permission#265
Merged
tpantelis merged 1 commit intosubmariner-io:develfrom Feb 18, 2026
Merged
Conversation
Collaborator
|
🤖 Created branch: z_pr265/tpantelis/fix-stale-bot-cache-issue |
f169b12 to
485f4a1
Compare
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>
485f4a1 to
d365099
Compare
skitt
approved these changes
Feb 18, 2026
Contributor
Author
|
@coderabbitai review |
Contributor
Author
|
@coderabbitai Why haven't you reviewed this PR? |
Collaborator
|
🤖 Closed branches: [z_pr265/tpantelis/fix-stale-bot-cache-issue] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:This has been affecting issue #239 (and potentially others) which has not been updated since March 11, 2025, well past the 120-day stale threshold, but was never marked as stale.
Solution
Add
actions:writeto the job permissions in.github/workflows/stale.yml.References
Testing
After this PR is merged, the next scheduled run of the stale workflow should be able to: