|
|
@@ -104,68 +104,6 @@
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
- {
|
|
|
- "taskType": "trigger",
|
|
|
- "capabilityId": "IssueResponder",
|
|
|
- "subCapability": "IssueCommentResponder",
|
|
|
- "version": "1.0",
|
|
|
- "config": {
|
|
|
- "conditions": {
|
|
|
- "operator": "and",
|
|
|
- "operands": [
|
|
|
- {
|
|
|
- "name": "isAction",
|
|
|
- "parameters": {
|
|
|
- "action": "created"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "operator": "not",
|
|
|
- "operands": [
|
|
|
- {
|
|
|
- "name": "isOpen",
|
|
|
- "parameters": {}
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "activitySenderHasPermissions",
|
|
|
- "parameters": {
|
|
|
- "permissions": "none"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "noActivitySince",
|
|
|
- "parameters": {
|
|
|
- "days": 7
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "operator": "not",
|
|
|
- "operands": [
|
|
|
- {
|
|
|
- "name": "isCloseAndComment",
|
|
|
- "parameters": {}
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "eventType": "issue",
|
|
|
- "eventNames": [
|
|
|
- "issue_comment"
|
|
|
- ],
|
|
|
- "taskName": "[Closed Issue Management] For issues closed with no activity over 7 days, ask non-contributor to consider opening a new issue instead.",
|
|
|
- "actions": [
|
|
|
- {
|
|
|
- "name": "addReply",
|
|
|
- "parameters": {
|
|
|
- "comment": "Hello lovely human, thank you for your comment on this issue. Because this issue has been closed for a period of time, please strongly consider opening a new issue linking to this issue instead to ensure better visibility of your comment. Thank you!\n\nSee [our Issue Management Policies](https://aka.ms/aspnet/issue-policies) for more information."
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- },
|
|
|
{
|
|
|
"taskType": "trigger",
|
|
|
"capabilityId": "IssueResponder",
|