Skip to content

Commit 9bb6022

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 58b149d commit 9bb6022

File tree

1 file changed

+90
-0
lines changed

1 file changed

+90
-0
lines changed
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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'
20+
- noActivitySince:
21+
days: 4
22+
- isNotLabeledWith:
23+
label: 'Status: no recent activity'
24+
actions:
25+
- addLabel:
26+
label: 'Status: no recent activity'
27+
- addReply:
28+
reply: This issue has been automatically marked as stale because it is marked as needing 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**. Thank you for your interest in Office Add-ins!
29+
- description:
30+
frequencies:
31+
- hourly:
32+
hour: 3
33+
filters:
34+
- isIssue
35+
- isOpen
36+
- hasLabel:
37+
label: 'Needs: author feedback'
38+
- hasLabel:
39+
label: 'Status: no recent activity'
40+
- noActivitySince:
41+
days: 3
42+
actions:
43+
- addReply:
44+
reply: This issue has been closed due to inactivity. Please comment if you still need assistance and we'll re-open the issue.
45+
- closeIssue
46+
eventResponderTasks:
47+
- if:
48+
- payloadType: Issues
49+
- isAction:
50+
action: Opened
51+
- not: isAssignedToSomeone
52+
then:
53+
- addLabel:
54+
label: 'Needs: triage :mag:'
55+
description:
56+
- if:
57+
- payloadType: Issues
58+
- not:
59+
isAction:
60+
action: Closed
61+
- hasLabel:
62+
label: 'Status: no recent activity'
63+
then:
64+
- removeLabel:
65+
label: 'Status: no recent activity'
66+
description:
67+
- if:
68+
- payloadType: Issue_Comment
69+
- hasLabel:
70+
label: 'Status: no recent activity'
71+
then:
72+
- removeLabel:
73+
label: 'Status: no recent activity'
74+
description:
75+
- if:
76+
- payloadType: Issue_Comment
77+
- isAction:
78+
action: Created
79+
- isActivitySender:
80+
issueAuthor: True
81+
- hasLabel:
82+
label: 'Needs: author feedback'
83+
then:
84+
- addLabel:
85+
label: 'Needs: attention :wave:'
86+
- removeLabel:
87+
label: 'Needs: author feedback'
88+
description:
89+
onFailure:
90+
onSuccess:

0 commit comments

Comments
 (0)