forked from SynkraAI/aiox-core
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (41 loc) · 1.58 KB
/
Copy pathstale.yml
File metadata and controls
48 lines (41 loc) · 1.58 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
name: Manage Stale Issues
on:
schedule:
- cron: '30 1 * * *'
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v10
with:
# Issue configuration
days-before-issue-stale: 30
days-before-issue-close: 7
stale-issue-label: 'status: stale'
stale-issue-message: |
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed in 7 days if no further activity occurs.
If this issue is still relevant, please leave a comment to keep it open.
close-issue-message: |
This issue has been automatically closed due to inactivity.
If you believe this is still relevant, please reopen it with additional context.
close-issue-reason: 'not_planned'
# PR configuration
days-before-pr-stale: 45
days-before-pr-close: -1
stale-pr-label: 'status: stale'
stale-pr-message: |
This pull request has been automatically marked as stale because it has not had
recent activity. Please update it or it may be closed.
# Exemptions
exempt-issue-labels: 'priority: P1,priority: P2,status: in-progress,status: confirmed'
exempt-pr-labels: 'priority: P1,priority: P2,status: in-progress'
exempt-all-assignees: true
exempt-draft-pr: true
# Behavior
remove-stale-when-updated: true
operations-per-run: 30