-
-
Notifications
You must be signed in to change notification settings - Fork 350
43 lines (38 loc) · 1.42 KB
/
stale-issue-pr.yml
File metadata and controls
43 lines (38 loc) · 1.42 KB
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
33
34
35
36
37
38
39
40
41
42
43
name: Maintenance - Stale Issues & PRs
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
stale:
name: Mark Stale Items
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# ---- Issue settings ----
days-before-issue-stale: 30
days-before-issue-close: 60
exempt-issue-labels: |
pinned
on-hold
stale-issue-message: |
This issue has been inactive for 30 days and is now marked as stale.
It will be automatically closed in 60 days if no further activity occurs.
close-issue-message: |
Since it has been a long time without updates, the issue has been automatically closed.
If you need to continue, please reopen or create a new issue.
# ---- PR settings ----
days-before-pr-stale: 14
days-before-pr-close: 30
stale-pr-message: |
This PR has been inactive for 14 days and is now marked as stale.
It will be automatically closed in 30 days if no further activity occurs.
close-pr-message: |
Since it has been a long time without updates, the PR has been automatically closed.
If you need to continue, please reopen or create a new PR.
exempt-pr-labels: |
pinned
WIP
on-hold