-
Notifications
You must be signed in to change notification settings - Fork 79
32 lines (27 loc) · 974 Bytes
/
stale.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '21 1 * * *'
permissions:
contents: read
jobs:
stale:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/stale@v9'
with:
stale-issue-message: |-
This issue has been automatically marked as stale because it has not had
any activity in the last 90 days. It will be closed if no further activity
occurs. Thank you for your contributions.
stale-issue-label: 'stale'
exempt-issue-labels: 'enhancement,security,pinned'
stale-pr-message: |-
This Pull Request is stale because it has been open for 60 days with
no activity. It will be closed in 7 days if no further activity.
stale-pr-label: 'stale'
days-before-stale: 90
days-before-close: 7