Add workflow to auto-close stale needs-info issues#9057
Open
captainsafia wants to merge 1 commit intomainfrom
Open
Add workflow to auto-close stale needs-info issues#9057captainsafia wants to merge 1 commit intomainfrom
captainsafia wants to merge 1 commit intomainfrom
Conversation
Adds a nightly GitHub Actions workflow that automatically closes issues labeled 'needs-info' if they have received no new comments 3 business days after the label was applied. Closed issues get an explanatory comment inviting the reporter to reply to reopen. Co-Authored-By: Oz <oz-agent@warp.dev>
Member
|
@vorporeal mind taking this one? |
vorporeal
approved these changes
Apr 14, 2026
| with: | ||
| script: | | ||
| const LABEL = "needs-info"; | ||
| const BUSINESS_DAYS = 3; |
There was a problem hiding this comment.
unless there's a strong reason to close things more aggressively, i'd give people a week, maybe two, to reply? in case someone reported a thing then went on vacation
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
Adds a nightly GitHub Actions workflow that automatically closes issues labeled
needs-infowhen they have received no new comments for 3 business days after the label was applied.How it works
workflow_dispatchtrigger for manual testing.needs-infolabel and looks up when the label was most recently applied via the timeline/events API.not_plannedwith an explanatory comment inviting the reporter to reply to reopen.Conversation: https://staging.warp.dev/conversation/c1116e28-571c-4903-94d8-f39d96786b11
Run: https://oz.staging.warp.dev/runs/019d896e-18d1-794c-88e5-0ee5a701fcf0
This PR was generated with Oz.