xref: /expo/.github/workflows/issue-stale.yml (revision dfd15ebd)
1name: Close inactive issues
2on:
3  workflow_dispatch:
4  schedule:
5    - cron: "0 * * * *"
6
7jobs:
8  close-issues:
9    runs-on: ubuntu-20.04
10    steps:
11      - uses: actions/stale@v4
12        with:
13          ascending: false
14          operations-per-run: 300
15          days-before-issue-stale: 90
16          days-before-issue-close: 7
17          stale-issue-label: "stale"
18          stale-issue-message: "This issue is stale because it has been open for 60 days with no activity. If there is no activity in the next 7 days, the issue will be closed."
19          close-issue-message: "This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem."
20          days-before-pr-stale: -1
21          days-before-pr-close: -1
22          enable-statistics: true