Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove non-supported tasks / actions in preparation for migration off of FabricBot #20527

Merged
merged 1 commit into from
Feb 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
270 changes: 0 additions & 270 deletions .github/fabricbot.json
Original file line number Diff line number Diff line change
@@ -1,188 +1,6 @@
{
"version": "1.0",
"tasks": [
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssueCommentResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"operator": "not",
"operands": [
{
"name": "isOpen",
"parameters": {}
}
]
},
{
"name": "isAction",
"parameters": {
"action": "created"
}
},
{
"name": "hasLabel",
"parameters": {
"label": "s/no-recent-activity"
}
},
{
"operator": "or",
"operands": [
{
"name": "hasLabel",
"parameters": {
"label": "s/needs-info"
}
},
{
"name": "hasLabel",
"parameters": {
"label": "s/needs-repro"
}
}
]
},
{
"operator": "not",
"operands": [
{
"name": "noActivitySince",
"parameters": {
"days": 7
}
}
]
},
{
"operator": "not",
"operands": [
{
"name": "isCloseAndComment",
"parameters": {}
}
]
},
{
"name": "isActivitySender",
"parameters": {
"user": {
"type": "author"
}
}
},
{
"name": "activitySenderHasPermissions",
"parameters": {
"permissions": "none"
}
}
]
},
"eventType": "issue",
"eventNames": [
"issue_comment"
],
"taskName": "[Idle Issue Management] For issues closed due to inactivity, re-open an issue if issue author posts a reply within 7 days.",
"actions": [
{
"name": "reopenIssue",
"parameters": {}
},
{
"name": "removeLabel",
"parameters": {
"label": "s/no-recent-activity"
}
},
{
"name": "removeLabel",
"parameters": {
"label": "s/needs-info"
}
},
{
"name": "removeLabel",
"parameters": {
"label": "s/needs-repro"
}
},
{
"name": "addLabel",
"parameters": {
"label": "s/needs-attention"
}
}
]
}
},
{
"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": "read"
}
},
{
"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!"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
Expand Down Expand Up @@ -1886,88 +1704,6 @@
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssueCommentResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "isOpen",
"parameters": {}
},
{
"name": "isAction",
"parameters": {
"action": "created"
}
},
{
"name": "hasLabel",
"parameters": {
"label": "s/move-to-vs-feedback"
}
},
{
"operator": "not",
"operands": [
{
"name": "noActivitySince",
"parameters": {
"days": 3
}
}
]
},
{
"operator": "not",
"operands": [
{
"name": "isCloseAndComment",
"parameters": {}
}
]
},
{
"name": "isActivitySender",
"parameters": {
"user": {
"type": "author"
}
}
},
{
"name": "activitySenderHasPermissions",
"parameters": {
"permissions": "none"
}
}
]
},
"eventType": "issue",
"eventNames": [
"issue_comment"
],
"taskName": "For issues labeled with 's/move-to-vs-feedback' mark as 's/needs-attention' if there is activity",
"actions": [
{
"name": "removeLabel",
"parameters": {
"label": "s/move-to-vs-feedback"
}
},
{
"name": "addLabel",
"parameters": {
"label": "s/needs-attention"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
Expand Down Expand Up @@ -2202,12 +1938,6 @@
"label": "community ✨"
}
},
{
"name": "addReactionToIssue",
"parameters": {
"reaction": "heart"
}
},
{
"name": "addReply",
"parameters": {
Expand Down