mirror of https://github.com/webpack/webpack.git
mark and close inactive issue after half a year
This commit is contained in:
parent
25302e51a6
commit
72420fa926
|
@ -374,3 +374,58 @@ rules:
|
|||
message: |-
|
||||
I've moved it to {{comment_match.[1]}}.
|
||||
close: true
|
||||
|
||||
|
||||
|
||||
# mark inactive issues with inactive label
|
||||
# close them when no activity after warning
|
||||
- filters:
|
||||
issue: true
|
||||
open: true
|
||||
not:
|
||||
label: inactive
|
||||
ensure:
|
||||
value: "{{issue.reactions.[+1]}}"
|
||||
range: "< 10"
|
||||
last_action_age: 26w # half a year
|
||||
actions:
|
||||
comment:
|
||||
identifer: inactive-warning
|
||||
message: |-
|
||||
**This issue had no activity for at least half a year.**
|
||||
|
||||
It's subject to automatic issue closing if there is no activity in the next 15 days.
|
||||
label: inactive
|
||||
- filters:
|
||||
open: true
|
||||
label: inactive
|
||||
last_action_age:
|
||||
maximum: 26w # half a year
|
||||
actions:
|
||||
label:
|
||||
remove:
|
||||
- inactive
|
||||
- filters:
|
||||
open: true
|
||||
label: inactive
|
||||
last_action_age:
|
||||
minimum: 15d
|
||||
includeBotActions: true
|
||||
actions:
|
||||
close: true
|
||||
comment:
|
||||
identifer: inactive-close
|
||||
message: |-
|
||||
Issue was closed because of inactivity.
|
||||
|
||||
If you think this is still a valid issue, please file a new issue with additional information.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Check issues every week
|
||||
- filters:
|
||||
open: true
|
||||
actions:
|
||||
schedule: 1w
|
||||
|
|
Loading…
Reference in New Issue