You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
Use the MsftBot to help with the Triage of issues. We may need to update our repo
Create fabricbot.json
Add:
{ "version": "1.0", "tasks": [ { "taskType": "trigger", "capabilityId": "IssueResponder", "subCapability": "IssuesOnlyResponder", "version": "1.0", "config": { "taskName": "Adds 'Needs: Triage' label for 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' with 'Needs: Attention' label when author comments", "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": "IssueResponder", "subCapability": "IssuesOnlyResponder", "version": "1.0", "config": { "taskName": "[Closed Issues] Remove 'Status: No Recent Activity' label from issues", "conditions": { "operator": "and", "operands": [ { "operator": "not", "operands": [ { "name": "isAction", "parameters": { "action": "closed" } } ] }, { "name": "hasLabel", "parameters": { "label": "Status: No Recent Activity" } } ] }, "actions": [ { "name": "removeLabel", "parameters": { "label": "Status: No Recent Activity" } } ], "eventType": "issue", "eventNames": [ "issues", "project_card" ] } }, { "taskType": "trigger", "capabilityId": "IssueResponder", "subCapability": "IssueCommentResponder", "version": "1.0", "config": { "taskName": "Remove 'Status: No Recent Activity' label when an issue 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": "issue", "eventNames": [ "issue_comment" ] } }, { "taskType": "scheduled", "capabilityId": "ScheduledSearch", "subCapability": "ScheduledSearch", "version": "1.1", "config": { "taskName": "Close issues with 'Status: No Recent Activity'", "frequency": [ { "weekDay": 0, "hours": [ 1, 13 ], "timezoneOffset": -7 }, { "weekDay": 1, "hours": [ 1, 13 ], "timezoneOffset": -7 }, { "weekDay": 2, "hours": [ 1, 13 ], "timezoneOffset": -7 }, { "weekDay": 3, "hours": [ 1, 13 ], "timezoneOffset": -7 }, { "weekDay": 4, "hours": [ 1, 13 ], "timezoneOffset": -7 }, { "weekDay": 5, "hours": [ 1, 13 ], "timezoneOffset": -7 }, { "weekDay": 6, "hours": [ 1, 13 ], "timezoneOffset": -7 } ], "searchTerms": [ { "name": "isIssue", "parameters": {} }, { "name": "isOpen", "parameters": {} }, { "name": "hasLabel", "parameters": { "label": "Needs: Author Feedback" } }, { "name": "hasLabel", "parameters": { "label": "Status: No Recent Activity" } }, { "name": "noActivitySince", "parameters": { "days": 3 } } ], "actions": [ { "name": "closeIssue", "parameters": {} } ] } }, { "taskType": "scheduled", "capabilityId": "ScheduledSearch", "subCapability": "ScheduledSearch", "version": "1.1", "config": { "taskName": "Add 'Status: No Recent Activity' label to issues", "frequency": [ { "weekDay": 0, "hours": [ 9, 21 ], "timezoneOffset": -7 }, { "weekDay": 1, "hours": [ 9, 21 ], "timezoneOffset": -7 }, { "weekDay": 2, "hours": [ 9, 21 ], "timezoneOffset": -7 }, { "weekDay": 3, "hours": [ 9, 21 ], "timezoneOffset": -7 }, { "weekDay": 4, "hours": [ 9, 21 ], "timezoneOffset": -7 }, { "weekDay": 5, "hours": [ 9, 21 ], "timezoneOffset": -7 }, { "weekDay": 6, "hours": [ 9, 21 ], "timezoneOffset": -7 } ], "searchTerms": [ { "name": "isIssue", "parameters": {} }, { "name": "isOpen", "parameters": {} }, { "name": "hasLabel", "parameters": { "label": "Needs: Author Feedback" } }, { "name": "noActivitySince", "parameters": { "days": 4 } }, { "name": "noLabel", "parameters": { "label": "Status: No Recent Activity" } } ], "actions": [ { "name": "addLabel", "parameters": { "label": "Status: No Recent Activity" } }, { "name": "addReply", "parameters": { "comment": "Hi ${issueAuthor}, this issue has been marked as stale because it was labeled as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**. Thanks for contributing to bicep! :smile: :mechanical_arm:" } } ] } }, { "taskType": "trigger", "capabilityId": "CodeFlowLink", "subCapability": "CodeFlowLink", "version": "1.0", "config": { "taskName": "Adds a link to a pull request body that allows Microsoft reviewers to open the pull request in CodeFlow" } }, { "taskType": "trigger", "capabilityId": "IssueResponder", "subCapability": "PullRequestResponder", "version": "1.0", "config": { "conditions": { "operator": "and", "operands": [ { "name": "hasLabel", "parameters": { "label": "dependencies" } }, { "operator": "not", "operands": [ { "name": "hasLabel", "parameters": { "label": "auto-merge" } } ] }, { "name": "isActivitySender", "parameters": { "user": "dependabot[bot]" } } ] }, "eventType": "pull_request", "eventNames": [ "pull_request", "issues", "project_card" ], "taskName": "Approve and apply \"auto-merge\" label to dependabot PRs", "actions": [ { "name": "approvePullRequest", "parameters": { "comment": ":shipit:" } }, { "name": "addLabel", "parameters": { "label": "auto-merge" } } ] } }, { "taskType": "trigger", "capabilityId": "AutoMerge", "subCapability": "AutoMerge", "version": "1.0", "config": { "taskName": "Auto merge PRs", "label": "auto-merge", "minMinutesOpen": "5", "mergeType": "squash", "deleteBranches": true, "allowAutoMergeInstructionsWithoutLabel": false } } ], "userGroups": [] }
The text was updated successfully, but these errors were encountered: