mirror of
https://github.com/PowerShell/PSReadLine
synced 2026-06-08 12:12:13 +00:00
1714 lines
36 KiB
JSON
1714 lines
36 KiB
JSON
{
|
|
"version": "1.0",
|
|
"tasks": [
|
|
{
|
|
"taskType": "trigger",
|
|
"capabilityId": "IssueResponder",
|
|
"subCapability": "IssuesOnlyResponder",
|
|
"version": "1.0",
|
|
"config": {
|
|
"taskName": "Add needs-triage label to new issues",
|
|
"conditions": {
|
|
"operator": "and",
|
|
"operands": [
|
|
{
|
|
"name": "isAction",
|
|
"parameters": {
|
|
"action": "opened"
|
|
}
|
|
},
|
|
{
|
|
"operator": "not",
|
|
"operands": [
|
|
{
|
|
"name": "isPartOfProject",
|
|
"parameters": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"operator": "not",
|
|
"operands": [
|
|
{
|
|
"name": "isAssignedToSomeone",
|
|
"parameters": {}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"actions": [
|
|
{
|
|
"name": "addLabel",
|
|
"parameters": {
|
|
"label": "Needs-Triage :mag:"
|
|
}
|
|
}
|
|
],
|
|
"eventType": "issue",
|
|
"eventNames": [
|
|
"issues",
|
|
"project_card"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "trigger",
|
|
"capabilityId": "IssueResponder",
|
|
"subCapability": "IssueCommentResponder",
|
|
"version": "1.0",
|
|
"config": {
|
|
"taskName": "Replace needs author feedback label with needs attention label when the author comments on an issue",
|
|
"conditions": {
|
|
"operator": "and",
|
|
"operands": [
|
|
{
|
|
"name": "isAction",
|
|
"parameters": {
|
|
"action": "created"
|
|
}
|
|
},
|
|
{
|
|
"name": "isActivitySender",
|
|
"parameters": {
|
|
"user": {
|
|
"type": "author"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Needs-Author Feedback"
|
|
}
|
|
},
|
|
{
|
|
"name": "isOpen",
|
|
"parameters": {}
|
|
}
|
|
]
|
|
},
|
|
"actions": [
|
|
{
|
|
"name": "addLabel",
|
|
"parameters": {
|
|
"label": "Needs-Attention :wave:"
|
|
}
|
|
},
|
|
{
|
|
"name": "removeLabel",
|
|
"parameters": {
|
|
"label": "Needs-Author Feedback"
|
|
}
|
|
}
|
|
],
|
|
"eventType": "issue",
|
|
"eventNames": [
|
|
"issue_comment"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "trigger",
|
|
"capabilityId": "CodeFlowLink",
|
|
"subCapability": "CodeFlowLink",
|
|
"version": "1.0",
|
|
"config": {
|
|
"taskName": "Add a CodeFlow link to new pull requests"
|
|
}
|
|
},
|
|
{
|
|
"taskType": "trigger",
|
|
"capabilityId": "IssueResponder",
|
|
"subCapability": "PullRequestReviewResponder",
|
|
"version": "1.0",
|
|
"config": {
|
|
"taskName": "Add needs author feedback label to pull requests when changes are requested",
|
|
"conditions": {
|
|
"operator": "and",
|
|
"operands": [
|
|
{
|
|
"name": "isAction",
|
|
"parameters": {
|
|
"action": "submitted"
|
|
}
|
|
},
|
|
{
|
|
"name": "isReviewState",
|
|
"parameters": {
|
|
"state": "changes_requested"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"actions": [
|
|
{
|
|
"name": "addLabel",
|
|
"parameters": {
|
|
"label": "Needs-Author Feedback"
|
|
}
|
|
}
|
|
],
|
|
"eventType": "pull_request",
|
|
"eventNames": [
|
|
"pull_request_review"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "trigger",
|
|
"capabilityId": "IssueResponder",
|
|
"subCapability": "PullRequestResponder",
|
|
"version": "1.0",
|
|
"config": {
|
|
"taskName": "Remove needs author feedback label when the author responds to a pull request",
|
|
"conditions": {
|
|
"operator": "and",
|
|
"operands": [
|
|
{
|
|
"name": "isActivitySender",
|
|
"parameters": {
|
|
"user": {
|
|
"type": "author"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"operator": "not",
|
|
"operands": [
|
|
{
|
|
"name": "isAction",
|
|
"parameters": {
|
|
"action": "closed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Needs-Author Feedback"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"actions": [
|
|
{
|
|
"name": "removeLabel",
|
|
"parameters": {
|
|
"label": "Needs-Author Feedback"
|
|
}
|
|
}
|
|
],
|
|
"eventType": "pull_request",
|
|
"eventNames": [
|
|
"pull_request",
|
|
"issues",
|
|
"project_card"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "trigger",
|
|
"capabilityId": "IssueResponder",
|
|
"subCapability": "PullRequestCommentResponder",
|
|
"version": "1.0",
|
|
"config": {
|
|
"taskName": "Remove needs author feedback label when the author comments on a pull request",
|
|
"conditions": {
|
|
"operator": "and",
|
|
"operands": [
|
|
{
|
|
"name": "isActivitySender",
|
|
"parameters": {
|
|
"user": {
|
|
"type": "author"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Needs-Author Feedback"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"actions": [
|
|
{
|
|
"name": "removeLabel",
|
|
"parameters": {
|
|
"label": "Needs-Author Feedback"
|
|
}
|
|
}
|
|
],
|
|
"eventType": "pull_request",
|
|
"eventNames": [
|
|
"issue_comment"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "trigger",
|
|
"capabilityId": "IssueResponder",
|
|
"subCapability": "PullRequestReviewResponder",
|
|
"version": "1.0",
|
|
"config": {
|
|
"taskName": "Remove needs author feedback label when the author responds to a pull request review comment",
|
|
"conditions": {
|
|
"operator": "and",
|
|
"operands": [
|
|
{
|
|
"name": "isActivitySender",
|
|
"parameters": {
|
|
"user": {
|
|
"type": "author"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Needs-Author Feedback"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"actions": [
|
|
{
|
|
"name": "removeLabel",
|
|
"parameters": {
|
|
"label": "Needs-Author Feedback"
|
|
}
|
|
}
|
|
],
|
|
"eventType": "pull_request",
|
|
"eventNames": [
|
|
"pull_request_review"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "trigger",
|
|
"capabilityId": "IssueResponder",
|
|
"subCapability": "PullRequestResponder",
|
|
"version": "1.0",
|
|
"config": {
|
|
"taskName": "Remove no recent activity label from pull requests",
|
|
"conditions": {
|
|
"operator": "and",
|
|
"operands": [
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Status-No Recent Activity"
|
|
}
|
|
},
|
|
{
|
|
"name": "isAction",
|
|
"parameters": {
|
|
"action": "closed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"actions": [
|
|
{
|
|
"name": "removeLabel",
|
|
"parameters": {
|
|
"label": "Status-No Recent Activity"
|
|
}
|
|
}
|
|
],
|
|
"eventType": "pull_request",
|
|
"eventNames": [
|
|
"pull_request",
|
|
"issues",
|
|
"project_card"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "trigger",
|
|
"capabilityId": "IssueResponder",
|
|
"subCapability": "PullRequestCommentResponder",
|
|
"version": "1.0",
|
|
"config": {
|
|
"taskName": "Remove no recent activity label when a pull request is commented on",
|
|
"conditions": {
|
|
"operator": "and",
|
|
"operands": [
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Status-No Recent Activity"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"actions": [
|
|
{
|
|
"name": "removeLabel",
|
|
"parameters": {
|
|
"label": "Status-No Recent Activity"
|
|
}
|
|
}
|
|
],
|
|
"eventType": "pull_request",
|
|
"eventNames": [
|
|
"issue_comment"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "trigger",
|
|
"capabilityId": "IssueResponder",
|
|
"subCapability": "PullRequestReviewResponder",
|
|
"version": "1.0",
|
|
"config": {
|
|
"taskName": "Remove no recent activity label when a pull request is reviewed",
|
|
"conditions": {
|
|
"operator": "and",
|
|
"operands": [
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Status-No Recent Activity"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"actions": [
|
|
{
|
|
"name": "removeLabel",
|
|
"parameters": {
|
|
"label": "Status-No Recent Activity"
|
|
}
|
|
}
|
|
],
|
|
"eventType": "pull_request",
|
|
"eventNames": [
|
|
"pull_request_review"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "scheduled",
|
|
"capabilityId": "ScheduledSearch",
|
|
"subCapability": "ScheduledSearch",
|
|
"version": "1.1",
|
|
"config": {
|
|
"taskName": "Close stale pull requests",
|
|
"frequency": [
|
|
{
|
|
"weekDay": 0,
|
|
"hours": [
|
|
3,
|
|
9,
|
|
15,
|
|
21
|
|
],
|
|
"timezoneOffset": -8
|
|
},
|
|
{
|
|
"weekDay": 1,
|
|
"hours": [
|
|
3,
|
|
9,
|
|
15,
|
|
21
|
|
],
|
|
"timezoneOffset": -8
|
|
},
|
|
{
|
|
"weekDay": 2,
|
|
"hours": [
|
|
3,
|
|
9,
|
|
15,
|
|
21
|
|
],
|
|
"timezoneOffset": -8
|
|
},
|
|
{
|
|
"weekDay": 3,
|
|
"hours": [
|
|
3,
|
|
9,
|
|
15,
|
|
21
|
|
],
|
|
"timezoneOffset": -8
|
|
},
|
|
{
|
|
"weekDay": 4,
|
|
"hours": [
|
|
3,
|
|
9,
|
|
15,
|
|
21
|
|
],
|
|
"timezoneOffset": -8
|
|
},
|
|
{
|
|
"weekDay": 5,
|
|
"hours": [
|
|
3,
|
|
9,
|
|
15,
|
|
21
|
|
],
|
|
"timezoneOffset": -8
|
|
},
|
|
{
|
|
"weekDay": 6,
|
|
"hours": [
|
|
3,
|
|
9,
|
|
15,
|
|
21
|
|
],
|
|
"timezoneOffset": -8
|
|
}
|
|
],
|
|
"searchTerms": [
|
|
{
|
|
"name": "isPr",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "isOpen",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Needs-Author Feedback"
|
|
}
|
|
},
|
|
{
|
|
"name": "noActivitySince",
|
|
"parameters": {
|
|
"days": 7
|
|
}
|
|
}
|
|
],
|
|
"actions": [
|
|
{
|
|
"name": "closeIssue",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "addReply",
|
|
"parameters": {
|
|
"comment": "This issue is closed because it has been marked as requiring author feedback but has not had any activity for **7 days**. If you think the issue is still relevant, please reopen and provide your feedback."
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "scheduled",
|
|
"capabilityId": "ScheduledSearch",
|
|
"subCapability": "ScheduledSearch",
|
|
"version": "1.1",
|
|
"config": {
|
|
"taskName": "Add no recent activity label to pull requests",
|
|
"frequency": [
|
|
{
|
|
"weekDay": 0,
|
|
"hours": [
|
|
3,
|
|
9,
|
|
15,
|
|
21
|
|
],
|
|
"timezoneOffset": -8
|
|
},
|
|
{
|
|
"weekDay": 1,
|
|
"hours": [
|
|
3,
|
|
9,
|
|
15,
|
|
21
|
|
],
|
|
"timezoneOffset": -8
|
|
},
|
|
{
|
|
"weekDay": 2,
|
|
"hours": [
|
|
3,
|
|
9,
|
|
15,
|
|
21
|
|
],
|
|
"timezoneOffset": -8
|
|
},
|
|
{
|
|
"weekDay": 3,
|
|
"hours": [
|
|
3,
|
|
9,
|
|
15,
|
|
21
|
|
],
|
|
"timezoneOffset": -8
|
|
},
|
|
{
|
|
"weekDay": 4,
|
|
"hours": [
|
|
3,
|
|
9,
|
|
15,
|
|
21
|
|
],
|
|
"timezoneOffset": -8
|
|
},
|
|
{
|
|
"weekDay": 5,
|
|
"hours": [
|
|
3,
|
|
9,
|
|
15,
|
|
21
|
|
],
|
|
"timezoneOffset": -8
|
|
},
|
|
{
|
|
"weekDay": 6,
|
|
"hours": [
|
|
3,
|
|
9,
|
|
15,
|
|
21
|
|
],
|
|
"timezoneOffset": -8
|
|
}
|
|
],
|
|
"searchTerms": [
|
|
{
|
|
"name": "isPr",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "isOpen",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Needs-Author Feedback"
|
|
}
|
|
},
|
|
{
|
|
"name": "noActivitySince",
|
|
"parameters": {
|
|
"days": 14
|
|
}
|
|
},
|
|
{
|
|
"name": "noLabel",
|
|
"parameters": {
|
|
"label": "Status-No Recent Activity"
|
|
}
|
|
}
|
|
],
|
|
"actions": [
|
|
{
|
|
"name": "addLabel",
|
|
"parameters": {
|
|
"label": "Status-No Recent Activity"
|
|
}
|
|
},
|
|
{
|
|
"name": "addReply",
|
|
"parameters": {
|
|
"comment": "This pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **14 days**. It will be closed if no further activity occurs **within 7 days of this comment**."
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "trigger",
|
|
"capabilityId": "AutoMerge",
|
|
"subCapability": "AutoMerge",
|
|
"version": "1.0",
|
|
"config": {
|
|
"taskName": "Automatically merge pull requests",
|
|
"label": "Auto Merge",
|
|
"silentMode": false,
|
|
"minMinutesOpen": "1440",
|
|
"mergeType": "squash",
|
|
"allowAutoMergeInstructionsWithoutLabel": false,
|
|
"deleteBranches": true,
|
|
"removeLabelOnPush": true
|
|
}
|
|
},
|
|
{
|
|
"taskType": "trigger",
|
|
"capabilityId": "IssueResponder",
|
|
"subCapability": "IssuesOnlyResponder",
|
|
"version": "1.0",
|
|
"config": {
|
|
"conditions": {
|
|
"operator": "and",
|
|
"operands": [
|
|
{
|
|
"name": "isAction",
|
|
"parameters": {
|
|
"action": "closed"
|
|
}
|
|
},
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Needs-Triage :mag:"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"eventType": "issue",
|
|
"eventNames": [
|
|
"issues",
|
|
"project_card"
|
|
],
|
|
"taskName": "Remove needs-triage label when an issue is closed",
|
|
"actions": [
|
|
{
|
|
"name": "removeLabel",
|
|
"parameters": {
|
|
"label": "Needs-Triage :mag:"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "scheduled",
|
|
"capabilityId": "ScheduledSearch",
|
|
"subCapability": "ScheduledSearch",
|
|
"version": "1.1",
|
|
"config": {
|
|
"frequency": [
|
|
{
|
|
"weekDay": 0,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 1,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 2,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 3,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 4,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 5,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 6,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"searchTerms": [
|
|
{
|
|
"name": "isIssue",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "isOpen",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Needs-Author Feedback"
|
|
}
|
|
},
|
|
{
|
|
"name": "noActivitySince",
|
|
"parameters": {
|
|
"days": 7
|
|
}
|
|
}
|
|
],
|
|
"taskName": "Close stale issues",
|
|
"actions": [
|
|
{
|
|
"name": "addReply",
|
|
"parameters": {
|
|
"comment": "This issue is closed because it has been marked as requiring author feedback but has not had any activity for **7 days**. If you think the issue is still relevant, please reopen and provide your feedback."
|
|
}
|
|
},
|
|
{
|
|
"name": "closeIssue",
|
|
"parameters": {}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "trigger",
|
|
"capabilityId": "InPrLabel",
|
|
"subCapability": "InPrLabel",
|
|
"version": "1.0",
|
|
"config": {
|
|
"taskName": "Add 'In-PR' label to issue",
|
|
"label_inPr": "In-PR",
|
|
"fixedLabelEnabled": true,
|
|
"label_fixed": "Resolution-Fixed"
|
|
}
|
|
},
|
|
{
|
|
"taskType": "trigger",
|
|
"capabilityId": "ReleaseAnnouncement",
|
|
"subCapability": "ReleaseAnnouncement",
|
|
"version": "1.0",
|
|
"config": {
|
|
"taskName": "Release announcement for Issue/PR",
|
|
"prReply": ":tada: [`${version}`](https://github.com/PowerShell/PSReadLine/releases/tag/${version}) has been released which incorporates this pull request. :tada:\n",
|
|
"issueReply": ":tada: This issue was addressed in ${prNumber}, which has now been successfully released in [`${version}`](https://github.com/PowerShell/PSReadLine/releases/tag/${version}). :tada:",
|
|
"packageRegex": "(v\\d+\\.\\d+\\.\\d+(-\\w+)?)",
|
|
"packageVersionGroup": 0,
|
|
"referencedPrsRegex": "\\(#(\\d+)\\)"
|
|
}
|
|
},
|
|
{
|
|
"taskType": "scheduled",
|
|
"capabilityId": "ScheduledSearch",
|
|
"subCapability": "ScheduledSearch",
|
|
"version": "1.1",
|
|
"config": {
|
|
"frequency": [
|
|
{
|
|
"weekDay": 0,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 1,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 2,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 3,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 4,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 5,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 6,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"searchTerms": [
|
|
{
|
|
"name": "isOpen",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Resolution-Answered"
|
|
}
|
|
}
|
|
],
|
|
"taskName": "Closing if Resolution Answered",
|
|
"actions": [
|
|
{
|
|
"name": "closeIssue",
|
|
"parameters": {}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "scheduled",
|
|
"capabilityId": "ScheduledSearch",
|
|
"subCapability": "ScheduledSearch",
|
|
"version": "1.1",
|
|
"config": {
|
|
"frequency": [
|
|
{
|
|
"weekDay": 0,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 1,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 2,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 3,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 4,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 5,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 6,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"searchTerms": [
|
|
{
|
|
"name": "isOpen",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Resolution-By Design"
|
|
}
|
|
}
|
|
],
|
|
"taskName": "Closing if Resolution By Design",
|
|
"actions": [
|
|
{
|
|
"name": "closeIssue",
|
|
"parameters": {}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "scheduled",
|
|
"capabilityId": "ScheduledSearch",
|
|
"subCapability": "ScheduledSearch",
|
|
"version": "1.1",
|
|
"config": {
|
|
"frequency": [
|
|
{
|
|
"weekDay": 0,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 1,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 2,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 3,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 4,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 5,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 6,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"searchTerms": [
|
|
{
|
|
"name": "isOpen",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Resolution-Declined"
|
|
}
|
|
}
|
|
],
|
|
"taskName": "Closing if Resolution Declined",
|
|
"actions": [
|
|
{
|
|
"name": "closeIssue",
|
|
"parameters": {}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "scheduled",
|
|
"capabilityId": "ScheduledSearch",
|
|
"subCapability": "ScheduledSearch",
|
|
"version": "1.1",
|
|
"config": {
|
|
"frequency": [
|
|
{
|
|
"weekDay": 0,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 1,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 2,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 3,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 4,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 5,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 6,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"searchTerms": [
|
|
{
|
|
"name": "isOpen",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Resolution-Duplicate"
|
|
}
|
|
}
|
|
],
|
|
"taskName": "Closing if Resolution Dup",
|
|
"actions": [
|
|
{
|
|
"name": "closeIssue",
|
|
"parameters": {}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "scheduled",
|
|
"capabilityId": "ScheduledSearch",
|
|
"subCapability": "ScheduledSearch",
|
|
"version": "1.1",
|
|
"config": {
|
|
"frequency": [
|
|
{
|
|
"weekDay": 0,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 1,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 2,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 3,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 4,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 5,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 6,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"searchTerms": [
|
|
{
|
|
"name": "isOpen",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Resolution-External"
|
|
}
|
|
}
|
|
],
|
|
"taskName": "Closing if Resolution External",
|
|
"actions": [
|
|
{
|
|
"name": "closeIssue",
|
|
"parameters": {}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "scheduled",
|
|
"capabilityId": "ScheduledSearch",
|
|
"subCapability": "ScheduledSearch",
|
|
"version": "1.1",
|
|
"config": {
|
|
"frequency": [
|
|
{
|
|
"weekDay": 0,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 1,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 2,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 3,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 4,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 5,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 6,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"searchTerms": [
|
|
{
|
|
"name": "isOpen",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Resolution-Fixed"
|
|
}
|
|
}
|
|
],
|
|
"taskName": "Closing if Resolution Fixed",
|
|
"actions": [
|
|
{
|
|
"name": "closeIssue",
|
|
"parameters": {}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "scheduled",
|
|
"capabilityId": "ScheduledSearch",
|
|
"subCapability": "ScheduledSearch",
|
|
"version": "1.1",
|
|
"config": {
|
|
"frequency": [
|
|
{
|
|
"weekDay": 0,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 1,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 2,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 3,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 4,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 5,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 6,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"searchTerms": [
|
|
{
|
|
"name": "isOpen",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Resolution-Not Repro"
|
|
}
|
|
}
|
|
],
|
|
"taskName": "Closing if Resolution Not Repro",
|
|
"actions": [
|
|
{
|
|
"name": "closeIssue",
|
|
"parameters": {}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "scheduled",
|
|
"capabilityId": "ScheduledSearch",
|
|
"subCapability": "ScheduledSearch",
|
|
"version": "1.1",
|
|
"config": {
|
|
"frequency": [
|
|
{
|
|
"weekDay": 0,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 1,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 2,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 3,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 4,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 5,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 6,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"searchTerms": [
|
|
{
|
|
"name": "isOpen",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Resolution-Wont Fix"
|
|
}
|
|
}
|
|
],
|
|
"taskName": "Closing if Resolution Wont Fix",
|
|
"actions": [
|
|
{
|
|
"name": "closeIssue",
|
|
"parameters": {}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "scheduled",
|
|
"capabilityId": "ScheduledSearch",
|
|
"subCapability": "ScheduledSearch",
|
|
"version": "1.1",
|
|
"config": {
|
|
"frequency": [
|
|
{
|
|
"weekDay": 0,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 1,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 2,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 3,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 4,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 5,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"weekDay": 6,
|
|
"hours": [
|
|
0,
|
|
6,
|
|
12,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"searchTerms": [
|
|
{
|
|
"name": "isOpen",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Needs-Repro"
|
|
}
|
|
},
|
|
{
|
|
"name": "noActivitySince",
|
|
"parameters": {
|
|
"days": 7
|
|
}
|
|
}
|
|
],
|
|
"taskName": "Closing if Stale Needs Repro",
|
|
"actions": [
|
|
{
|
|
"name": "closeIssue",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "addReply",
|
|
"parameters": {
|
|
"comment": "This issue is closed because it has been marked as requiring repro steps but has not had any activity for **7 days**. If you think the issue is still relevant, please reopen and provide your feedback."
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"taskType": "trigger",
|
|
"capabilityId": "IssueResponder",
|
|
"subCapability": "IssueCommentResponder",
|
|
"version": "1.0",
|
|
"config": {
|
|
"conditions": {
|
|
"operator": "and",
|
|
"operands": [
|
|
{
|
|
"name": "hasLabel",
|
|
"parameters": {
|
|
"label": "Needs-Repro"
|
|
}
|
|
},
|
|
{
|
|
"name": "isActivitySender",
|
|
"parameters": {
|
|
"user": {
|
|
"type": "author"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"eventType": "issue",
|
|
"eventNames": [
|
|
"issue_comment"
|
|
],
|
|
"taskName": "",
|
|
"actions": [
|
|
{
|
|
"name": "reopenIssue",
|
|
"parameters": {}
|
|
},
|
|
{
|
|
"name": "removeLabel",
|
|
"parameters": {
|
|
"label": "Needs-Repro"
|
|
}
|
|
},
|
|
{
|
|
"name": "addLabel",
|
|
"parameters": {
|
|
"label": "Needs-Attention :wave:"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"userGroups": []
|
|
} |