...
1name: Close stale
2on:
3 schedule:
4 - cron: '0 0 * * *'
5
6jobs:
7 stale:
8 runs-on: ubuntu-latest
9 steps:
10 - uses: actions/stale@v3
11 with:
12 repo-token: '${{ secrets.GITHUB_TOKEN }}'
13
14 stale-issue-message: |-
15 This issue is stale because it has been open for 14 days with no
16 activity. It will automatically close after 7 more days of inactivity.
17 stale-issue-label: 'kind/stale'
18 exempt-issue-labels: 'bug,enhancement'
19
20 stale-pr-message: |-
21 This Pull Request is stale because it has been open for 14 days with
22 no activity. It will automatically close after 7 more days of
23 inactivity.
24 stale-pr-label: 'kind/stale'
25 exempt-pr-labels: 'bug,enhancement'
26
27 days-before-stale: 14
28 days-before-close: 7
View as plain text