-
Notifications
You must be signed in to change notification settings - Fork 64
39 lines (35 loc) · 1.52 KB
/
stale.yml
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
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '0 */6 * * *'
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
# General rules applied to both, issues and pull requests (PRs)
start-date: "2022-07-30T00:00:00Z"
days-before-close: 14
days-before-stale: 90
exempt-all-assignees: true
exempt-all-milestones: true
# Rules applied to Issues
exempt-issue-labels: "Feature, bug, Priority: Critical, Priority: High, clarification, community-upvoted, security, keep"
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs.
close-issue-message: >
This issue has been automatically closed due to lack of activity. If you disagree, please comment on reason
why and reopen the issue
# Rules applied to PRs
exempt-pr-labels: "community-upvoted, clarification, security, keep"
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs.
close-pr-message: >
This pull request has been automatically closed due to lack of activity. If you disagree, please comment on
reason why and reopen pull request