Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add a rather-conservative stale issue action in dry-run mode (#18233)
Joseph T. Lyons3c95a64a23c9
diff --git a/.github/workflows/close_stale_issues.yml b/.github/workflows/close_stale_issues.ymlnew file mode 100644index 00000000000..240403169c4--- /dev/null+++ b/.github/workflows/close_stale_issues.yml@@ -0,0 +1,28 @@+name: "Close Stale Issues"+on:+ schedule:+ - cron: "0 1 * * *"+ workflow_dispatch:++jobs:+ stale:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/stale@v9+ with:+ repo-token: ${{ secrets.GITHUB_TOKEN }}+ stale-issue-message: >+ Hi there! 👋++ We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. Are you able to reproduce this issue in the latest version of Zed? If so, please let us know by commenting on this issue and we will keep it open; otherwise, we'll close it in a week. Feel free to open a new issue if you're seeing this message after the issue has been closed.++ Thanks for your help!+ close-issue-message: "This issue was closed due to inactivity; feel free to open a new issue if you're still experiencing this problem!"+ days-before-stale: 365+ days-before-close: 7+ only-issue-labels: "defect,panic / crash"+ operations-per-run: 100+ ascending: true+ enable-statistics: true+ debug-only: true+ stale-issue-label: "stale"