-
Notifications
You must be signed in to change notification settings - Fork 4.2k
61 lines (60 loc) · 3.47 KB
/
stale_community_prs.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: 'Check stale community PRs.'
on: workflow_dispatch
jobs:
stale-implementation-stage:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e
with:
debug-only: true
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-label: closing-soon
# TODO: Add links in message to the contributing guide that explains the stage timings and staleness.
stale-pr-message: 'This pull request is in the implementation stage. It has been 20 days with no response to feedback provided by the maintainers. Please comment with an update or this will be closed in 10 days. Thanks!'
close-pr-message: 'This pull request was closed because it has been 10 days with no response. If you still wish to work on the implementation, please comment on the issue linked to this pull request. Thanks!'
days-before-stale: 20
days-before-close: 10
days-before-issue-close: -1
days-before-issue-stale: -1
only-pr-labels: community,implementation,response-requested
exempt-pr-labels: responded # Forces PRs to be skipped if this is not removed by maintainers.
labels-to-remove-when-unstale: response-requested
labels-to-add-when-unstale: responded
close-pr-label: closed-for-staleness
stale-review-stage:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e
with:
debug-only: true
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-label: stale
# TODO: Add links in message to the contributing guide that explains the stage timings and staleness.
stale-pr-message: 'This pull request is in the review stage. It has been 15 days with no response to feedback provided by the maintainers. Please comment with an update to indicate work you are still working on the pull request. Thanks!'
close-pr-message: 'DONTUSE'
days-before-stale: 15
days-before-close: -1
days-before-pr-close: -1
days-before-issue-close: -1
days-before-issue-stale: -1
only-pr-labels: community,review,response-requested
labels-to-remove-when-unstale: response-requested
labels-to-add-when-unstale: responded
exempt-pr-labels: responded,maintainers # Forces PRs to be skipped if these are not removed by maintainers.
close-pr-label: DONTUSE
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e
with:
debug-only: true
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-label: maintainers
# TODO: Add links in message to the contributing guide that explains the stage timings and staleness.
stale-pr-message: 'This pull request is in the review stage. It has become stale because it has been 20 days with no response to feedback from the maintainers. If you still wish to work on this, please provide a comment. Otherwise, the maintainers will complete this pull request.'
close-pr-message: 'DONTUSE'
days-before-stale: 5
days-before-pr-close: -1
days-before-close: -1
days-before-issue-close: -1
days-before-issue-stale: -1
only-pr-labels: community,review,response-requested,stale
close-pr-label: DONTUSE
ignore-updates: true # Even if there are comments added, maintainers will need to reset labels to resume processing.