|
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: 'status:waiting-for-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: 'status:waiting-for-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 | | - eventResponderTasks: |
60 | | - - if: |
61 | | - - payloadType: Issues |
62 | | - - isAction: |
63 | | - action: Closed |
64 | | - - hasLabel: |
65 | | - label: 'status:waiting-for-author-feedback' |
66 | | - then: |
67 | | - - removeLabel: |
68 | | - label: 'status:waiting-for-author-feedback' |
69 | | - description: |
70 | | - - if: |
71 | | - - payloadType: Issue_Comment |
72 | | - - isAction: |
73 | | - action: Created |
74 | | - - isActivitySender: |
75 | | - issueAuthor: True |
76 | | - - hasLabel: |
77 | | - label: 'status:waiting-for-author-feedback' |
78 | | - - isOpen |
79 | | - then: |
80 | | - - addLabel: |
81 | | - label: 'Needs: attention :wave:' |
82 | | - - removeLabel: |
83 | | - label: 'status:waiting-for-author-feedback' |
84 | | - description: |
85 | | - - if: |
86 | | - - payloadType: Issues |
87 | | - - not: |
88 | | - isAction: |
89 | | - action: Closed |
90 | | - - hasLabel: |
91 | | - label: 'Status: no recent activity' |
92 | | - then: |
93 | | - - removeLabel: |
94 | | - label: 'Status: no recent activity' |
95 | | - description: |
96 | | - - if: |
97 | | - - payloadType: Issue_Comment |
98 | | - - hasLabel: |
99 | | - label: 'Status: no recent activity' |
100 | | - then: |
101 | | - - removeLabel: |
102 | | - label: 'Status: no recent activity' |
103 | | - description: |
104 | | - - if: |
105 | | - - payloadType: Pull_Request |
106 | | - then: |
107 | | - - inPrLabel: |
108 | | - label: 'Status: In PR' |
109 | | - description: |
110 | | -onFailure: |
111 | | -onSuccess: |
| 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: 'status:waiting-for-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: 'status:waiting-for-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 | + eventResponderTasks: |
| 60 | + - if: |
| 61 | + - payloadType: Issues |
| 62 | + - isAction: |
| 63 | + action: Closed |
| 64 | + - hasLabel: |
| 65 | + label: 'status:waiting-for-author-feedback' |
| 66 | + then: |
| 67 | + - removeLabel: |
| 68 | + label: 'status:waiting-for-author-feedback' |
| 69 | + description: |
| 70 | + - if: |
| 71 | + - payloadType: Issue_Comment |
| 72 | + - isAction: |
| 73 | + action: Created |
| 74 | + - isActivitySender: |
| 75 | + issueAuthor: True |
| 76 | + - hasLabel: |
| 77 | + label: 'status:waiting-for-author-feedback' |
| 78 | + - isOpen |
| 79 | + then: |
| 80 | + - addLabel: |
| 81 | + label: 'Needs: attention :wave:' |
| 82 | + - removeLabel: |
| 83 | + label: 'status:waiting-for-author-feedback' |
| 84 | + description: |
| 85 | + - if: |
| 86 | + - payloadType: Issues |
| 87 | + - not: |
| 88 | + isAction: |
| 89 | + action: Closed |
| 90 | + - hasLabel: |
| 91 | + label: 'Status: no recent activity' |
| 92 | + then: |
| 93 | + - removeLabel: |
| 94 | + label: 'Status: no recent activity' |
| 95 | + description: |
| 96 | + - if: |
| 97 | + - payloadType: Issue_Comment |
| 98 | + - hasLabel: |
| 99 | + label: 'Status: no recent activity' |
| 100 | + then: |
| 101 | + - removeLabel: |
| 102 | + label: 'Status: no recent activity' |
| 103 | + description: |
| 104 | + - if: |
| 105 | + - payloadType: Pull_Request |
| 106 | + then: |
| 107 | + - inPrLabel: |
| 108 | + label: 'Status: In PR' |
| 109 | + description: |
| 110 | +onFailure: |
| 111 | +onSuccess: |
0 commit comments