This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 221
45 lines (43 loc) · 1.68 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
40
41
42
43
44
45
name: Stale monitor
on:
schedule:
- cron: '0 0 * * *'
# Allow manually triggering the workflow.
workflow_dispatch:
jobs:
stale:
name: Stale
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Process stale issues and pull requests
uses: actions/stale@main
id: stale
with:
close-issue-label: "[Status] Autoclosed"
close-pr-label: "[Status] Autoclosed"
days-before-close: "7"
days-before-stale: "30"
ascending: true
operations-per-run: 200
exempt-all-milestones: true
stale-issue-label: "[Status] Stale"
stale-issue-message: >
This issue has been marked stale because it has been open for
30 days with no activity. If there is no activity within 7 days,
it will be closed.
This is an automation to keep issues manageable and actionable and is
not a comment on the quality of this issue nor on the work done so
far. Closed issues are still valuable to the project and are
available to be searched.
stale-pr-label: "[Status] Stale"
stale-pr-message: >
This pull request has been marked stale because it has been open for
30 days with no activity. If there is no activity within 7 days,
it will be closed.
This is an automation to keep pull requests manageable and actionable
and is not a comment on the quality of this pull request nor on the
work done so far. Closed PRs are still valuable to the project and
their branches are preserved.