-
-
Notifications
You must be signed in to change notification settings - Fork 4
61 lines (52 loc) · 2.63 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Stale
on:
schedule:
- cron: '0 8 * * *'
# Allow to run it manually on GitHub (a button will be visible)
# See https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
workflow_dispatch:
jobs:
stale:
name: 🧹 Clean up stale issues and PRs
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v2
- name: Stale
id: stale
uses: sonia-corporation/[email protected]
with:
dry-run: false # Test the workflow
github-token: ${{ secrets.GITHUB_TOKEN }}
# Issue settings
issue-days-before-stale: 90
issue-days-before-close: 10
issue-stale-label: 'Status: Stale' # Add this label when marking stale
issue-ignore-any-labels:
| # If an issue has any of these labels, ignore
'good first issue'
'help wanted'
'Status: Blocked or Postponed'
'x-Bot: No Abandonment'
issue-ignore-all-assignees: true # If an issue is assigned, ignore
issue-ignore-all-project-cards: true # If an issue is in a project, ignore
issue-ignore-any-milestones: true # If an issue is in a milestone, ignore
issue-stale-comment: |
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it is being marked as stale.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a 👍
Because this issue is marked as stale, it will be closed and locked in 10 days if no further activity occurs. If you want to prevent it from being closed, just leave a comment.
Thank you for your contributions!
# PR settings
pull-request-days-before-stale: 60
pull-request-days-before-close: 10
pull-request-stale-label: 'Status: Stale' # Add this label when marking stale
pull-request-ignore-any-labels:
| # If a PR has any of these labels, ignore
'Status: Blocked or Postponed'
'x-Bot: No Abandonment'
pull-request-ignore-draft: true # If a PR is in draft state, ignore
pull-request-close-comment: |
There hasn't been any activity on this pull request recently, and in order to prioritize active work, it is being marked as stale.
This PR will be closed and locked in 10 days if no further activity occurs. If you want to prevent it from being closed, leave a comment or push new commits.
Thank you for your contributions!