Skip to content

close-stale-issues #166

close-stale-issues

close-stale-issues #166

Workflow file for this run

# See https://github.com/marketplace/actions/close-stale-issues
# Mark issues as stale if they're open with no activity for 1 day
# Closed marked issues after 3 days.
name: close-stale-issues
on:
schedule:
- cron: "0 0 * * 4"
workflow_dispatch:
permissions:
contents: read
jobs:
stale:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Thanks for sharing your feedback. We apologize for our delayed response. Due to the sheer volume of feedback in our repo, we have decided to prioritize the newest issues and are automatically closing our oldest issues with an Issues bot. If you believe your feedback is still actionable, then either respond directly in this issue or open a new documentation issue and we’ll review. If no activity occurs in the next 14 days, this issue will be closed.'
close-issue-message: 'This issue is closed. If you feel this issue has been closed in error, please submit a new comment on the issue, and we will review it.'
stale-issue-label: 'stale'
close-issue-label: 'auto-close'
exempt-issue-labels: 'exempt'
remove-stale-when-updated: true
days-before-close: 14
days-before-issue-stale: 90
days-before-pr-stale: -1
operations-per-run: 500