1name: cron
2
3on:
4 schedule:
5 - cron: '0 0 * * *' # every day at 00:00
6
7jobs:
8 stale:
9 name: stale/issue-and-pr
10 runs-on: ubuntu-latest
11 permissions:
12 issues: write
13 steps:
14 - uses: actions/stale@v9
15 stale-issue-label: lifecycle/stale
16 stale-pr-label: lifecycle/stale
17 days-before-stale: 90
18 days-before-close: 30
19 stale-issue-message: |
20 This bot triages untriaged issues and PRs according to the following rules:
21
22 - After 90 days of inactivity, the `lifecycle/stale` label is applied
23 - After 30 days of inactivity since `lifecycle/stale` was applied, the issue is closed
24
25 To remove the stale status, you can:
26
27 - Remove the `lifecycle/stale` label
28 - Comment on this issue