Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix stale action not closing issues as expected #27972

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

MidhunSureshR
Copy link
Member

Stale action uses cache to keep track of issues it has already processed. This cache is supposed to be deleted at the end of the run but it never happens due to a lack of permission. See https://github.com/element-hq/element-web/actions/runs/10588795861/job/29341882041#step:2:7046

The end result of this is that some issues are just never considered for closing once they're in the cache.

Relevant:
actions/stale#1131 (comment)

This is needed so that actions/stale@v9 can delete caches.
Without this permisson, the cache is never deleted leading to some
issues never being checked again.
@MidhunSureshR MidhunSureshR added the T-Task Tasks for the team like planning label Aug 28, 2024
@MidhunSureshR MidhunSureshR requested a review from a team as a code owner August 28, 2024 11:49
@MidhunSureshR MidhunSureshR added this pull request to the merge queue Aug 28, 2024
Merged via the queue into develop with commit 74c796d Aug 28, 2024
32 checks passed
@MidhunSureshR MidhunSureshR deleted the midhun/fix-stale-bot branch August 28, 2024 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants