Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/stale-needs-more-info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Close stale "needs more info" issues

on:
schedule:
- cron: "17 6 * * *"
workflow_dispatch:

permissions:
actions: write
issues: write
Comment thread
coderabbitai[bot] marked this conversation as resolved.

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
only-issue-labels: "needs more info"
# The label is applied by the triage flow, so never auto-mark; close 7 days after it was added.
days-before-issue-stale: -1
days-before-issue-close: 7
days-before-pr-stale: -1
days-before-pr-close: -1
remove-issue-stale-when-updated: true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 High workflows/stale-needs-more-info.yml:24

A maintainer editing an issue title after the needs more info label is added removes that label on the next run, so only-issue-labels excludes the issue and it never reaches the seven-day close. remove-issue-stale-when-updated reacts to any issue update, not just reporter replies; use reply-specific handling to cancel the timeout.

🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
In file @.github/workflows/stale-needs-more-info.yml around line 24:

A maintainer editing an issue title after the `needs more info` label is added removes that label on the next run, so `only-issue-labels` excludes the issue and it never reaches the seven-day close. `remove-issue-stale-when-updated` reacts to any issue update, not just reporter replies; use reply-specific handling to cancel the timeout.

stale-issue-label: "needs more info"
close-issue-reason: not_planned
Comment thread
coderabbitai[bot] marked this conversation as resolved.
close-issue-message: >-
Closing: no reply in 7 days after we asked for more information.
Comment with the missing details and we will reopen.
operations-per-run: 200
Loading