1name: "Close Stale Issues"
2on:
3 schedule:
4 - cron: "0 7,9,11 * * 3"
5 workflow_dispatch:
6
7jobs:
8 stale:
9 if: github.repository_owner == 'zed-industries'
10 runs-on: ubuntu-latest
11 steps:
12 - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9
13 with:
14 repo-token: ${{ secrets.GITHUB_TOKEN }}
15 stale-issue-message: >
16 Hi there! 👋
17
18 We're working to clean up our issue tracker by closing older bugs that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and it will be kept open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, it will close automatically in 14 days.
19
20 Thanks for your help!
21 close-issue-message: "This issue was closed due to inactivity. If you're still experiencing this problem, please open a new issue with a link to this issue."
22 days-before-stale: 60
23 days-before-close: 14
24 only-issue-types: "Bug,Crash"
25 operations-per-run: 1000
26 ascending: true
27 enable-statistics: true
28 stale-issue-label: "stale"