name: Close stale "needs more info" issues
on:
schedule:
- cron: "17 6 * * *"
workflow_dispatch:
permissions:
actions: write
issues: write
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
stale-issue-label: "needs more info"
close-issue-reason: not_planned
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