|
| 1 | +id: |
| 2 | +name: GitOps.PullRequestIssueManagement |
| 3 | +description: GitOps.PullRequestIssueManagement primitive |
| 4 | +owner: |
| 5 | +resource: repository |
| 6 | +disabled: false |
| 7 | +where: |
| 8 | +configuration: |
| 9 | + resourceManagementConfiguration: |
| 10 | + scheduledSearches: |
| 11 | + - description: |
| 12 | + frequencies: |
| 13 | + - hourly: |
| 14 | + hour: 6 |
| 15 | + filters: |
| 16 | + - isIssue |
| 17 | + - isOpen |
| 18 | + - hasLabel: |
| 19 | + label: 'Needs: Author Feedback' |
| 20 | + - hasLabel: |
| 21 | + label: Status no recent activity |
| 22 | + - noActivitySince: |
| 23 | + days: 3 |
| 24 | + actions: |
| 25 | + - closeIssue |
| 26 | + - description: |
| 27 | + frequencies: |
| 28 | + - hourly: |
| 29 | + hour: 6 |
| 30 | + filters: |
| 31 | + - isIssue |
| 32 | + - isOpen |
| 33 | + - hasLabel: |
| 34 | + label: 'Needs: Author Feedback' |
| 35 | + - noActivitySince: |
| 36 | + days: 4 |
| 37 | + - isNotLabeledWith: |
| 38 | + label: Status no recent activity |
| 39 | + actions: |
| 40 | + - addLabel: |
| 41 | + label: Status no recent activity |
| 42 | + - addReply: |
| 43 | + reply: This issue has been automatically marked as stale because it has been marked 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**. |
| 44 | + - description: |
| 45 | + frequencies: |
| 46 | + - hourly: |
| 47 | + hour: 6 |
| 48 | + filters: |
| 49 | + - isIssue |
| 50 | + - isOpen |
| 51 | + - hasLabel: |
| 52 | + label: duplicate |
| 53 | + - noActivitySince: |
| 54 | + days: 1 |
| 55 | + actions: |
| 56 | + - addReply: |
| 57 | + reply: This issue has been marked as duplicate and has not had any activity for **1 day**. It will be closed for housekeeping purposes. |
| 58 | + - closeIssue |
| 59 | + - description: |
| 60 | + frequencies: |
| 61 | + - hourly: |
| 62 | + hour: 6 |
| 63 | + filters: |
| 64 | + - isPullRequest |
| 65 | + - isOpen |
| 66 | + - hasLabel: |
| 67 | + label: Needs Author Feedback |
| 68 | + - hasLabel: |
| 69 | + label: Status no recent activity |
| 70 | + - noActivitySince: |
| 71 | + days: 7 |
| 72 | + actions: |
| 73 | + - closeIssue |
| 74 | + - description: |
| 75 | + frequencies: |
| 76 | + - hourly: |
| 77 | + hour: 6 |
| 78 | + filters: |
| 79 | + - isPullRequest |
| 80 | + - isOpen |
| 81 | + - hasLabel: |
| 82 | + label: 'Needs: Author Feedback' |
| 83 | + - noActivitySince: |
| 84 | + days: 7 |
| 85 | + - isNotLabeledWith: |
| 86 | + label: Status no recent activity |
| 87 | + actions: |
| 88 | + - addLabel: |
| 89 | + label: Status no recent activity |
| 90 | + - addReply: |
| 91 | + reply: 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 **7 days**. It will be closed if no further activity occurs **within 7 days of this comment**. |
| 92 | + eventResponderTasks: |
| 93 | + - if: |
| 94 | + - payloadType: Issues |
| 95 | + - isAction: |
| 96 | + action: Opened |
| 97 | + then: |
| 98 | + - addLabel: |
| 99 | + label: 'Needs: Triage :mag:' |
| 100 | + description: |
| 101 | + - if: |
| 102 | + - payloadType: Issue_Comment |
| 103 | + - isAction: |
| 104 | + action: Created |
| 105 | + - isActivitySender: |
| 106 | + issueAuthor: True |
| 107 | + - hasLabel: |
| 108 | + label: 'Needs: Author Feedback' |
| 109 | + - isOpen |
| 110 | + then: |
| 111 | + - addLabel: |
| 112 | + label: 'Needs: Attention :wave:' |
| 113 | + - removeLabel: |
| 114 | + label: 'Needs: Author Feedback' |
| 115 | + description: |
| 116 | + - if: |
| 117 | + - payloadType: Issues |
| 118 | + - not: |
| 119 | + isAction: |
| 120 | + action: Closed |
| 121 | + - hasLabel: |
| 122 | + label: Status no recent activity |
| 123 | + then: |
| 124 | + - removeLabel: |
| 125 | + label: Status no recent activity |
| 126 | + description: |
| 127 | + - if: |
| 128 | + - payloadType: Issue_Comment |
| 129 | + - hasLabel: |
| 130 | + label: Status no recent activity |
| 131 | + then: |
| 132 | + - removeLabel: |
| 133 | + label: Status no recent activity |
| 134 | + description: |
| 135 | + - if: |
| 136 | + - payloadType: Pull_Request |
| 137 | + then: |
| 138 | + - inPrLabel: |
| 139 | + label: 'Status: In PR' |
| 140 | + description: |
| 141 | + - if: |
| 142 | + - payloadType: Pull_Request |
| 143 | + - isAction: |
| 144 | + action: Opened |
| 145 | + then: |
| 146 | + - addCodeFlowLink |
| 147 | + description: |
| 148 | + - if: |
| 149 | + - payloadType: Pull_Request_Review |
| 150 | + - isAction: |
| 151 | + action: Submitted |
| 152 | + - isReviewState: |
| 153 | + reviewState: Changes_requested |
| 154 | + then: |
| 155 | + - addLabel: |
| 156 | + label: 'Needs: Author Feedback' |
| 157 | + description: |
| 158 | + - if: |
| 159 | + - payloadType: Pull_Request |
| 160 | + - isActivitySender: |
| 161 | + issueAuthor: True |
| 162 | + - not: |
| 163 | + isAction: |
| 164 | + action: Closed |
| 165 | + - hasLabel: |
| 166 | + label: 'Needs: Author Feedback' |
| 167 | + then: |
| 168 | + - removeLabel: |
| 169 | + label: 'Needs: Author Feedback' |
| 170 | + description: |
| 171 | + - if: |
| 172 | + - payloadType: Issue_Comment |
| 173 | + - isActivitySender: |
| 174 | + issueAuthor: True |
| 175 | + - hasLabel: |
| 176 | + label: 'Needs: Author Feedback' |
| 177 | + then: |
| 178 | + - removeLabel: |
| 179 | + label: 'Needs: Author Feedback' |
| 180 | + description: |
| 181 | + - if: |
| 182 | + - payloadType: Pull_Request_Review |
| 183 | + - isActivitySender: |
| 184 | + issueAuthor: True |
| 185 | + - hasLabel: |
| 186 | + label: 'Needs: Author Feedback' |
| 187 | + then: |
| 188 | + - removeLabel: |
| 189 | + label: 'Needs: Author Feedback' |
| 190 | + description: |
| 191 | + - if: |
| 192 | + - payloadType: Pull_Request |
| 193 | + - not: |
| 194 | + isAction: |
| 195 | + action: Closed |
| 196 | + - hasLabel: |
| 197 | + label: Status no recent activity |
| 198 | + then: |
| 199 | + - removeLabel: |
| 200 | + label: Status no recent activity |
| 201 | + description: |
| 202 | + - if: |
| 203 | + - payloadType: Issue_Comment |
| 204 | + - hasLabel: |
| 205 | + label: Status no recent activity |
| 206 | + then: |
| 207 | + - removeLabel: |
| 208 | + label: Status no recent activity |
| 209 | + description: |
| 210 | + - if: |
| 211 | + - payloadType: Pull_Request_Review |
| 212 | + - hasLabel: |
| 213 | + label: Status no recent activity |
| 214 | + then: |
| 215 | + - removeLabel: |
| 216 | + label: Status no recent activity |
| 217 | + description: |
| 218 | + - if: |
| 219 | + - payloadType: Pull_Request |
| 220 | + - hasLabel: |
| 221 | + label: auto merge |
| 222 | + then: |
| 223 | + - enableAutoMerge: |
| 224 | + mergeMethod: Squash |
| 225 | + description: |
| 226 | + - if: |
| 227 | + - payloadType: Pull_Request |
| 228 | + - labelRemoved: |
| 229 | + label: auto merge |
| 230 | + then: |
| 231 | + - disableAutoMerge |
| 232 | + description: |
| 233 | + - if: |
| 234 | + - payloadType: Issues |
| 235 | + - labelAdded: |
| 236 | + label: 'Needs: Environment Info' |
| 237 | + then: |
| 238 | + - addReply: |
| 239 | + reply: >- |
| 240 | + This issue lacks the environment info requested in the bug template. Please edit your issue report to add this information. |
| 241 | +
|
| 242 | +
|
| 243 | + 1. `npx react-native --version`: |
| 244 | +
|
| 245 | + 2. `npx react-native run-windows --info`: |
| 246 | + - addLabel: |
| 247 | + label: 'Needs: Author Feedback' |
| 248 | + - removeLabel: |
| 249 | + label: 'Needs: Triage :mag:' |
| 250 | + description: |
| 251 | +onFailure: |
| 252 | +onSuccess: |
0 commit comments