-
-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (59 loc) · 3.27 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 issue handler"
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
permissions:
contents: read
jobs:
stale:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0
id: stale-bug
with:
stale-issue-label: "stale"
stale-issue-message: 'This bug report has not been verified by maintainers yet, and has been open for 14 days without activity. It will be closed if no further activity occurs within the next 14 days. If this is still an issue, consider commenting with more information to help us verify it.'
days-before-issue-stale: -1
days-before-issue-close: -1
operations-per-run: 1000
days-before-pr-stale: -1
days-before-pr-close: -1
only-issue-labels: 'type: bug'
any-of-issue-labels: 'pending-approval'
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0
id: stale-feature
with:
stale-issue-label: "stale"
stale-issue-message: 'This feature request has not been approved by maintainers yet, and has been open for 14 days without activity. It will be closed as "not planned" if no further activity occurs within the next 14 days.'
stale-pr-message: 'This pull request has been marked as maybe-abandoned and has not seen any activity for 14 days. It will be closed if no further activity occurs within the next 30 days. If you would still like to work on this, please comment to let us know and the label will be removed.'
days-before-issue-stale: -1
days-before-issue-close: -1
operations-per-run: 1000
days-before-pr-stale: 14
days-before-pr-close: 30
only-issue-labels: 'type: feature'
any-of-issue-labels: 'pending-approval'
any-of-pr-labels: 'maybe-abandoned'
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0
id: invalid
with:
stale-issue-label: "stale"
stale-issue-message: 'This issue has been marked as invalid ([see our contributing guidelines](https://github.com/sequelize/sequelize/blob/main/CONTRIBUTING.md)) and has not been active in 2 weeks. It will be closed if no further activity occurs within the next 2 weeks.'
stale-pr-message: 'This pull request has been marked as invalid ([see our contributing guidelines](https://github.com/sequelize/sequelize/blob/main/CONTRIBUTING.md)) and has not been active in 2 weeks. It will be closed if no further activity occurs within the next 2 weeks.'
days-before-issue-stale: 14
days-before-issue-close: 14
operations-per-run: 1000
days-before-pr-stale: 14
days-before-pr-close: 14
any-of-issue-labels: 'invalid'
any-of-pr-labels: 'invalid'
- name: Print outputs (stale-bug)
run: echo ${{ join(steps.stale-bug.outputs.*, ',') }}
- name: Print outputs (stale-feature)
run: echo ${{ join(steps.stale-feature.outputs.*, ',') }}
- name: Print outputs (invalid)
run: echo ${{ join(steps.invalid.outputs.*, ',') }}