-
Notifications
You must be signed in to change notification settings - Fork 123
67 lines (52 loc) · 1.92 KB
/
Copy pathstale.yml
File metadata and controls
67 lines (52 loc) · 1.92 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
55
56
57
58
59
60
61
62
63
64
65
66
67
# Z-Image - Stale Issues and PRs
#
# Automatically marks and closes stale issues and PRs
name: Stale
on:
schedule:
- cron: '0 0 * * *' # Run daily at midnight UTC
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
name: Manage Stale Items
runs-on: ubuntu-latest
steps:
- name: Mark stale issues and PRs
uses: actions/stale@v10
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Issue settings
stale-issue-message: |
This issue has been automatically marked as stale because it has not had any activity for 30 days.
It will be closed in 7 days if no further activity occurs.
If this issue is still relevant:
- Add a comment with any updates
- Remove the `stale` label
close-issue-message: |
This issue has been closed due to inactivity.
Feel free to reopen if this is still relevant.
stale-issue-label: 'stale'
days-before-issue-stale: 30
days-before-issue-close: 7
# PR settings
stale-pr-message: |
This PR has been automatically marked as stale because it has not had any activity for 14 days.
It will be closed in 7 days if no further activity occurs.
If this PR is still in progress:
- Push new commits or add a comment
- Remove the `stale` label
close-pr-message: |
This PR has been closed due to inactivity.
Feel free to reopen when ready to continue.
stale-pr-label: 'stale'
days-before-pr-stale: 14
days-before-pr-close: 7
# Exempt labels
exempt-issue-labels: 'pinned,security,help wanted'
exempt-pr-labels: 'pinned,security,work in progress'
# Other settings
remove-stale-when-updated: true
delete-branch: false