-
Notifications
You must be signed in to change notification settings - Fork 301
29 lines (27 loc) · 1.23 KB
/
stale-message.yml
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
name: "Close stale issues and PRs"
on:
schedule:
- cron: "30 1 * * *"
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v7
with:
stale-issue-message: "Old issues will be closed after 105 days of inactivity. This issue has been quiet for 90 days and is being marked as stale. Reply here to keep this issue open."
close-issue-message: "This issue is being closed due to inactivity. Is this a mistake? Please re-open this issue or create a new one."
stale-pr-message: "Old PRs will be closed after 30 days of inactivity. This PR has been quiet for 14 days and is being marked as stale. Reply here to keep this PR open."
close-pr-message: "This PR is being closed due to inactivity. Is this a mistake? Please re-open this PR or create a new one."
days-before-pr-stale: 14
days-before-pr-close: 30
days-before-issue-stale: 90
days-before-issue-close: 105
stale-issue-label: "stale"
stale-pr-label: "stale"
close-issue-label: "inactive"
close-pr-label: "inactive"
exempt-issue-labels: "not-stale"
exempt-pr-labels: "not-stale"