Skip to content

Commit f042eef

Browse files
Add prIssueManagement.yml to onboard repo to GitOps.ResourceManagement as FabricBot replacement
Owners of the FabricBot configuration should have received email notification. The same information contained in the email is published internally at: https://aka.ms/gim/fabricbot. Details on the replacement service and the syntax of the new yaml configuration file is available publicly at: https://microsoft.github.io/GitOps/policies/resource-management.html Please review and merge this PR to complete the process of onboarding to the new service.
1 parent bfe334d commit f042eef

File tree

1 file changed

+150
-0
lines changed

1 file changed

+150
-0
lines changed
Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
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: 3
15+
filters:
16+
- isIssue
17+
- isOpen
18+
- hasLabel:
19+
label: "Needs: Author Feedback \U0001F442"
20+
- noActivitySince:
21+
days: 8
22+
actions:
23+
- closeIssue
24+
- addReply:
25+
reply: This issue was closed automatically as author feedback was indicated as needed, but there has been no activity in over a week. Please feel free to reopen with any available information!
26+
- description:
27+
frequencies:
28+
- hourly:
29+
hour: 3
30+
filters:
31+
- isIssue
32+
- isOpen
33+
- hasLabel:
34+
label: Resolution-Duplicate
35+
- noActivitySince:
36+
days: 1
37+
actions:
38+
- addReply:
39+
reply: This issue has been marked as duplicate and has not had any activity in a day. It has been closed for housekeeping purposes.
40+
- closeIssue
41+
- description:
42+
frequencies:
43+
- hourly:
44+
hour: 3
45+
filters:
46+
- isOpen
47+
- hasLabel:
48+
label: Resolution-Answered
49+
- noActivitySince:
50+
days: 1
51+
actions:
52+
- closeIssue
53+
- addReply:
54+
reply: This issue has been marked as answered and has not had any activity in a day. It has been automatically closed for housekeeping purposes.
55+
- description:
56+
frequencies:
57+
- hourly:
58+
hour: 3
59+
filters:
60+
- isOpen
61+
- hasLabel:
62+
label: Needs-Repro-Info
63+
- noActivitySince:
64+
days: 8
65+
actions:
66+
- addReply:
67+
reply: This issue was closed automatically as repro info was indicated as needed, but there has been no activity in over a week. Please feel free to reopen with any available information!
68+
- closeIssue
69+
- description:
70+
frequencies:
71+
- hourly:
72+
hour: 3
73+
filters:
74+
- isOpen
75+
- hasLabel:
76+
label: Resolution-External
77+
actions:
78+
- closeIssue
79+
- addReply:
80+
reply: This issue has been marked as external. It has been automatically closed for housekeeping purposes.
81+
- description:
82+
frequencies:
83+
- hourly:
84+
hour: 3
85+
filters:
86+
- isOpen
87+
- hasLabel:
88+
label: 'Status: Fixed'
89+
actions:
90+
- closeIssue
91+
- addReply:
92+
reply: This issue has been marked as fixed. It has been automatically closed for housekeeping purposes.
93+
- description:
94+
frequencies:
95+
- hourly:
96+
hour: 3
97+
filters:
98+
- isOpen
99+
- hasLabel:
100+
label: Resolution-Inactive
101+
actions:
102+
- addReply:
103+
reply: This issue has been marked as inactive. It has been automatically closed for housekeeping purposes.
104+
- closeIssue
105+
eventResponderTasks:
106+
- if:
107+
- payloadType: Issue_Comment
108+
- isAction:
109+
action: Created
110+
- hasLabel:
111+
label: "Needs: Author Feedback \U0001F442"
112+
- isActivitySender:
113+
issueAuthor: True
114+
then:
115+
- addLabel:
116+
label: 'Needs: Attention :wave:'
117+
- removeLabel:
118+
label: "Needs: Author Feedback \U0001F442"
119+
description:
120+
- if:
121+
- payloadType: Pull_Request
122+
then:
123+
- labelSync:
124+
pattern: Issue-*
125+
- labelSync:
126+
pattern: Area-*
127+
description:
128+
- if:
129+
- payloadType: Issue_Comment
130+
- not: isOpen
131+
- isAction:
132+
action: Created
133+
- hasLabel:
134+
label: "Needs: Author Feedback \U0001F442"
135+
- isActivitySender:
136+
issueAuthor: True
137+
then:
138+
- reopenIssue
139+
- removeLabel:
140+
label: "Needs: Author Feedback \U0001F442"
141+
- addLabel:
142+
label: 'Needs: Attention :wave:'
143+
description:
144+
- if:
145+
- payloadType: Issue_Comment
146+
then:
147+
- cleanEmailReply
148+
description:
149+
onFailure:
150+
onSuccess:

0 commit comments

Comments
 (0)