|
1548 | 1548 | ] |
1549 | 1549 | } |
1550 | 1550 | }, |
1551 | | - { |
1552 | | - "taskType": "trigger", |
1553 | | - "capabilityId": "AutoMerge", |
1554 | | - "subCapability": "AutoMerge", |
1555 | | - "version": "1.0", |
1556 | | - "config": { |
1557 | | - "taskName": "Auto Merge PRs", |
1558 | | - "label": "auto-merge", |
1559 | | - "minMinutesOpen": "60", |
1560 | | - "mergeType": "squash", |
1561 | | - "removeLabelOnPush": true, |
1562 | | - "conditionalMergeTypes": [ |
1563 | | - { |
1564 | | - "mergeType": "merge", |
1565 | | - "condition": { |
1566 | | - "placeholder": "labels", |
1567 | | - "operator": "contains", |
1568 | | - "label_name": "Type: Merge Forward :fast_forward:" |
1569 | | - } |
1570 | | - } |
1571 | | - ], |
1572 | | - "deleteBranches": true |
1573 | | - } |
1574 | | - }, |
1575 | 1551 | { |
1576 | 1552 | "taskType": "trigger", |
1577 | 1553 | "capabilityId": "IssueResponder", |
|
2015 | 1991 | ] |
2016 | 1992 | } |
2017 | 1993 | }, |
2018 | | - { |
2019 | | - "taskType": "trigger", |
2020 | | - "capabilityId": "IssueResponder", |
2021 | | - "subCapability": "PullRequestResponder", |
2022 | | - "version": "1.0", |
2023 | | - "config": { |
2024 | | - "conditions": { |
2025 | | - "operator": "and", |
2026 | | - "operands": [ |
2027 | | - { |
2028 | | - "name": "isAction", |
2029 | | - "parameters": { |
2030 | | - "action": "opened" |
2031 | | - } |
2032 | | - }, |
2033 | | - { |
2034 | | - "name": "isActivitySender", |
2035 | | - "parameters": { |
2036 | | - "user": "dotnet-maestro-bot" |
2037 | | - } |
2038 | | - }, |
2039 | | - { |
2040 | | - "name": "titleContains", |
2041 | | - "parameters": { |
2042 | | - "titlePattern": "Merge branch" |
2043 | | - } |
2044 | | - }, |
2045 | | - { |
2046 | | - "name": "prTargetsBranch", |
2047 | | - "parameters": { |
2048 | | - "branchName": "main" |
2049 | | - } |
2050 | | - } |
2051 | | - ] |
2052 | | - }, |
2053 | | - "eventType": "pull_request", |
2054 | | - "eventNames": [ |
2055 | | - "pull_request", |
2056 | | - "issues", |
2057 | | - "project_card" |
2058 | | - ], |
2059 | | - "taskName": "[Infrastructure PRs] Add auto-merge label to branch merge Pull Requests in main", |
2060 | | - "actions": [ |
2061 | | - { |
2062 | | - "name": "addLabel", |
2063 | | - "parameters": { |
2064 | | - "label": "auto-merge" |
2065 | | - } |
2066 | | - } |
2067 | | - ] |
2068 | | - } |
2069 | | - }, |
2070 | 1994 | { |
2071 | 1995 | "taskType": "scheduled", |
2072 | 1996 | "capabilityId": "ScheduledSearch", |
|
0 commit comments