-
Notifications
You must be signed in to change notification settings - Fork 5
54 lines (47 loc) · 1.86 KB
/
Copy pathstale.yml
File metadata and controls
54 lines (47 loc) · 1.86 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
44
45
46
47
48
49
50
51
52
53
54
# Stale Issue and PR Management
# Marks issues and PRs as stale after 60 days of inactivity,
# then closes them 7 days later if no further activity.
#
# https://github.com/actions/stale
name: "Stale Issue & PR"
on:
schedule:
- cron: "0 6 * * 1" # Every Monday at 6:00 UTC
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v10
with:
# -- General Configuration --
days-before-stale: 60
days-before-close: 7
operations-per-run: 100
# -- Messaging --
stale-issue-message: >
This issue has been automatically marked as stale because it has been
inactive for 60 days. If this is still relevant, please leave a comment
to keep it open. Otherwise, it will be closed in 7 days.
close-issue-message: >
This issue has been automatically closed due to inactivity.
Feel free to reopen if the issue persists or is still relevant.
stale-pr-message: >
This pull request has been automatically marked as stale because it has
been inactive for 60 days. Please update or comment to keep it active.
It will be closed in 7 days.
close-pr-message: >
This pull request has been automatically closed due to inactivity.
Feel free to reopen with updates when you're ready to continue.
# -- Labels --
stale-issue-label: stale
stale-pr-label: stale
exempt-issue-labels: "pinned,security,blocked,awaiting-review"
exempt-pr-labels: "pinned,security,blocked,awaiting-review"
exempt-all-milestones: true
# -- Exempt from stale --
# Never mark these as stale
# -- Delete stale branches on close --
delete-branch: false