Ronnie Ghose
commited on
Create stale.yaml
Browse files- .github/workflows/stale.yaml +38 -0
.github/workflows/stale.yaml
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Stale Questions
|
2 |
+
|
3 |
+
on:
|
4 |
+
schedule:
|
5 |
+
- cron: "0 */6 * * *"
|
6 |
+
|
7 |
+
jobs:
|
8 |
+
stale:
|
9 |
+
runs-on: ubuntu-latest
|
10 |
+
|
11 |
+
steps:
|
12 |
+
- uses: actions/stale@v3
|
13 |
+
with:
|
14 |
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
15 |
+
days-before-stale: 10
|
16 |
+
days-before-close: 4
|
17 |
+
only-labels: 'stat: need more info'
|
18 |
+
stale-issue-message: >-
|
19 |
+
This issue has been marked as stale because there has been
|
20 |
+
no further activity in the last 10 days. If the issue remains
|
21 |
+
stale for the next 4 days (a total of two weeks with no activity),
|
22 |
+
then it will be assumed that the question has been resolved and
|
23 |
+
the issue will be automatically closed.
|
24 |
+
stale-issue-label: 'stat: no response'
|
25 |
+
operations-per-run: 40
|
26 |
+
|
27 |
+
- uses: actions/stale@v3
|
28 |
+
with:
|
29 |
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
30 |
+
days-before-stale: 60
|
31 |
+
days-before-close: 7
|
32 |
+
exempt-issue-labels: 'Epic,Feature: Planned,sla,sponsored,stat: waiting PR merge,Triaged,subj: security'
|
33 |
+
stale-issue-message: >-
|
34 |
+
This issue has been automatically marked as stale because it has not had
|
35 |
+
recent activity. It will be closed if no further activity occurs. Thank you
|
36 |
+
for your contributions.
|
37 |
+
stale-issue-label: 'stat: stale'
|
38 |
+
operations-per-run: 40
|