forked from Ikalus1988/MisakaNet
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (37 loc) 路 1.41 KB
/
Copy pathstale.yml
File metadata and controls
42 lines (37 loc) 路 1.41 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
name: Stale PR / Issue Manager
on:
schedule:
- cron: "0 6 * * *" # daily at 06:00 UTC
workflow_dispatch:
permissions:
contents: read
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v11
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# PR settings
stale-pr-message: |
This PR has been inactive for 14 days. It will be closed in 7 days if no further activity occurs.
If you're still working on it, please leave a comment or push new changes.
close-pr-message: |
This PR has been automatically closed due to 21 days of inactivity. Feel free to reopen if you'd like to continue working on it.
stale-pr-label: stale
days-before-pr-stale: 14
days-before-pr-close: 7
# Issue settings
stale-issue-message: |
This issue has been inactive for 30 days. It will be closed in 14 days if no further activity occurs.
close-issue-message: |
This issue has been automatically closed due to 44 days of inactivity.
stale-issue-label: stale
days-before-issue-stale: 30
days-before-issue-close: 14
# Exemptions
exempt-pr-labels: keep,dependencies,registered
exempt-issue-labels: keep,registered,help wanted,bounty
exempt-all-milestones: true