Skip to content

Commit ea9dd1c

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 7e40ea3 commit ea9dd1c

File tree

1 file changed

+160
-0
lines changed

1 file changed

+160
-0
lines changed
Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
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: 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: no recent activity
39+
actions:
40+
- addLabel:
41+
label: 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: 3
63+
filters:
64+
- isOpen
65+
- isIssue
66+
- hasLabel:
67+
label: graph question
68+
actions:
69+
- removeLabel:
70+
label: 'needs attention :wave:'
71+
- removeLabel:
72+
label: needs author feedback
73+
- removeLabel:
74+
label: 'needs triage :mag:'
75+
- removeLabel:
76+
label: no recent activity
77+
- addLabel:
78+
label: out of scope
79+
- addReply:
80+
reply: >-
81+
It looks like you are asking a question about using Microsoft Graph or one of the Microsoft Graph SDKs that is not directly related to this sample. Unfortunately we are not set up to answer general questions in this repository, so this issue will be closed.
82+
83+
84+
Please try asking your question on [Stack Overflow](https://stackoverflow.com/questions/tagged/microsoft-graph-api), tagging your question with `microsoft-graph-api`.
85+
- closeIssue
86+
- description:
87+
frequencies:
88+
- hourly:
89+
hour: 3
90+
filters:
91+
- isOpen
92+
- isIssue
93+
- hasLabel:
94+
label: graph issue
95+
actions:
96+
- removeLabel:
97+
label: 'needs attention :wave:'
98+
- removeLabel:
99+
label: needs author feedback
100+
- removeLabel:
101+
label: 'needs triage :mag:'
102+
- removeLabel:
103+
label: no recent activity
104+
- addLabel:
105+
label: out of scope
106+
- addReply:
107+
reply: >-
108+
It looks like you are reporting an issue with Microsoft Graph or one of the Microsoft Graph SDKs that is not fixable by changing code in this sample. Unfortunately we are not set up to provide product support in this repository, so this issue will be closed.
109+
110+
111+
Please visit one of the following links to report your issue.
112+
113+
114+
- Issue with Microsoft Graph service: [Microsoft Graph support](https://developer.microsoft.com/graph/support#report-issues-with-the-service), choose one of the options under **Report issues with the service**
115+
116+
- Issue with a Microsoft Graph SDK: Open an issue in the SDK's GitHub repository. See [microsoftgraph on GitHub](https://github.com/microsoftgraph?q=sdk+in%3Aname&type=public&language=) for a list of SDK repositories.
117+
- closeIssue
118+
eventResponderTasks:
119+
- if:
120+
- payloadType: Issue_Comment
121+
- isAction:
122+
action: Created
123+
- isActivitySender:
124+
issueAuthor: True
125+
- hasLabel:
126+
label: needs author feedback
127+
- isOpen
128+
then:
129+
- addLabel:
130+
label: 'needs attention :wave:'
131+
- removeLabel:
132+
label: needs author feedback
133+
description:
134+
- if:
135+
- payloadType: Issues
136+
- not:
137+
isAction:
138+
action: Closed
139+
- hasLabel:
140+
label: no recent activity
141+
then:
142+
- removeLabel:
143+
label: no recent activity
144+
description:
145+
- if:
146+
- payloadType: Issue_Comment
147+
- hasLabel:
148+
label: no recent activity
149+
then:
150+
- removeLabel:
151+
label: no recent activity
152+
description:
153+
- if:
154+
- payloadType: Pull_Request
155+
then:
156+
- inPrLabel:
157+
label: in pr
158+
description:
159+
onFailure:
160+
onSuccess:

0 commit comments

Comments
 (0)