Skip to content

Commit 07e292d

Browse files
committed
- adds missing issues automation configuration
1 parent 7ee895a commit 07e292d

File tree

1 file changed

+29
-84
lines changed

1 file changed

+29
-84
lines changed
Lines changed: 29 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,113 +1,77 @@
1-
id:
1+
id:
22
name: GitOps.PullRequestIssueManagement
33
description: GitOps.PullRequestIssueManagement primitive
4-
owner:
4+
owner:
55
resource: repository
66
disabled: false
7-
where:
7+
where:
88
configuration:
99
resourceManagementConfiguration:
1010
scheduledSearches:
11-
- description:
11+
- description:
1212
frequencies:
1313
- hourly:
14-
hour: 1
14+
hour: 6
1515
filters:
1616
- isIssue
1717
- isOpen
1818
- hasLabel:
19-
label: 'Needs: Author Feedback'
19+
label: 'needs author feedback'
2020
- hasLabel:
2121
label: 'Status: No Recent Activity'
2222
- noActivitySince:
2323
days: 3
24-
- isNotLabeledWith:
25-
label: Service Bug
2624
actions:
2725
- closeIssue
28-
- description:
26+
- description:
2927
frequencies:
3028
- hourly:
31-
hour: 1
29+
hour: 6
3230
filters:
3331
- isIssue
3432
- isOpen
3533
- hasLabel:
36-
label: 'Needs: Author Feedback'
34+
label: 'needs author feedback'
3735
- noActivitySince:
3836
days: 4
3937
- isNotLabeledWith:
4038
label: 'Status: No Recent Activity'
41-
- isNotLabeledWith:
42-
label: Service Bug
4339
actions:
4440
- addLabel:
4541
label: 'Status: No Recent Activity'
4642
- addReply:
4743
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**.
48-
- description:
44+
- description:
4945
frequencies:
5046
- hourly:
51-
hour: 1
47+
hour: 6
5248
filters:
5349
- isIssue
5450
- isOpen
5551
- hasLabel:
56-
label: duplicate
52+
label: 'duplicate'
5753
- noActivitySince:
5854
days: 1
5955
actions:
6056
- addReply:
6157
reply: This issue has been marked as duplicate and has not had any activity for **1 day**. It will be closed for housekeeping purposes.
6258
- closeIssue
63-
- description:
64-
frequencies:
65-
- hourly:
66-
hour: 1
67-
filters:
68-
- isOpen
69-
- hasLabel:
70-
label: 'API: Graph'
71-
- noActivitySince:
72-
days: 14
73-
actions:
74-
- addLabel:
75-
label: Service issue
76-
- addReply:
77-
reply: >-
78-
Hello @${issueAuthor}
79-
80-
81-
Thank you for reporting your concern. If you report this issue in the Microsoft Q&A forum, it will get routed to the appropriate team for them to triage.
82-
83-
84-
https://aka.ms/askgraph
8559
eventResponderTasks:
86-
- if:
87-
- payloadType: Issues
88-
- and:
89-
- isOpen
90-
- not:
91-
and:
92-
- isAssignedToSomeone
93-
- isLabeled
94-
then:
95-
- addLabel:
96-
label: 'ToTriage'
9760
- if:
9861
- payloadType: Issue_Comment
9962
- isAction:
10063
action: Created
10164
- isActivitySender:
10265
issueAuthor: True
10366
- hasLabel:
104-
label: 'Needs: Author Feedback'
67+
label: 'needs author feedback'
68+
- isOpen
10569
then:
10670
- addLabel:
107-
label: "Needs: Attention \U0001F44B"
71+
label: 'Needs: Attention :wave:'
10872
- removeLabel:
109-
label: 'Needs: Author Feedback'
110-
description:
73+
label: 'needs author feedback'
74+
description:
11175
- if:
11276
- payloadType: Issues
11377
- not:
@@ -118,39 +82,20 @@ configuration:
11882
then:
11983
- removeLabel:
12084
label: 'Status: No Recent Activity'
121-
description:
85+
description:
12286
- if:
12387
- payloadType: Issue_Comment
124-
- activitySenderHasAssociation:
125-
association: Contributor
126-
- bodyContains:
127-
pattern: '?'
128-
isRegex: False
129-
- bodyContains:
130-
pattern: '@'
131-
isRegex: False
88+
- hasLabel:
89+
label: 'Status: No Recent Activity'
13290
then:
133-
- addLabel:
134-
label: 'Needs: Author Feedback'
135-
description:
91+
- removeLabel:
92+
label: 'Status: No Recent Activity'
93+
description:
13694
- if:
137-
- payloadType: Issue_Comment
138-
- hasLabel:
139-
label: 'API: Graph'
95+
- payloadType: Pull_Request
14096
then:
141-
- addReply:
142-
reply: >-
143-
Hello @${issueAuthor}
144-
145-
146-
Thank you for reporting your concern. If you report this issue in the Microsoft Q&A forum, it will get routed to the appropriate team for them to triage.
147-
148-
https://aka.ms/askgraph
149-
150-
This issue will now be closed. If you encounter any issues in the future, please feel free to open an issue.
151-
- addLabel:
152-
label: Service issue
153-
- closeIssue
154-
description:
155-
onFailure:
156-
onSuccess:
97+
- inPrLabel:
98+
label: WIP
99+
description:
100+
onFailure:
101+
onSuccess:

0 commit comments

Comments
 (0)