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

ci: add workflow to close stale issues #2199

Merged
merged 11 commits into from
May 5, 2024
2 changes: 2 additions & 0 deletions .changeset/shiny-mugs-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
24 changes: 24 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Close and mark stale issue

on:
schedule:
- cron: "0 0 * * *"

jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ github.token }}
maschad marked this conversation as resolved.
Show resolved Hide resolved
stale-issue-message: "Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days."
close-issue-message: "This issue was closed because it is missing author input."
stale-issue-label: "stale"
any-of-labels: "need-author-input"
maschad marked this conversation as resolved.
Show resolved Hide resolved
exempt-issue-labels: "need/triage,need/community-input,need/maintainer-input,need/maintainers-input,need/analysis,status/blocked,status/in-progress,status/ready,status/deferred,status/inactive"
maschad marked this conversation as resolved.
Show resolved Hide resolved
days-before-issue-stale: 6
maschad marked this conversation as resolved.
Show resolved Hide resolved
days-before-issue-close: 7
enable-statistics: true
maschad marked this conversation as resolved.
Show resolved Hide resolved