Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 9ad95ab

Browse files
Onboarding to GitOps.ResourceManagement (#2535)
* Add prIssueManagement.yml to onboard repo to GitOps.ResourceManagement as FabricBot replacement * Deleting fabricbot.json --------- Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com> Co-authored-by: velimir-jankovic <[email protected]>
1 parent 8d5cf4c commit 9ad95ab

File tree

2 files changed

+64
-318
lines changed

2 files changed

+64
-318
lines changed

.github/fabricbot.json

Lines changed: 0 additions & 318 deletions
This file was deleted.
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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: 4
15+
filters:
16+
- isOpen
17+
- isNotLabeledWith:
18+
label: bug
19+
- isNotLabeledWith:
20+
label: security
21+
- isNotLabeledWith:
22+
label: stale
23+
- isNotLabeledWith:
24+
label: do not close
25+
- noActivitySince:
26+
days: 60
27+
- isIssue
28+
- isNotAssigned
29+
actions:
30+
- addLabel:
31+
label: stale
32+
- addReply:
33+
reply: This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.
34+
- description:
35+
frequencies:
36+
- hourly:
37+
hour: 6
38+
filters:
39+
- isOpen
40+
- isIssue
41+
- hasLabel:
42+
label: stale
43+
- isNotLabeledWith:
44+
label: bug
45+
- isNotLabeledWith:
46+
label: do not close
47+
- isNotAssigned
48+
- noActivitySince:
49+
days: 15
50+
actions:
51+
- addReply:
52+
reply: This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.
53+
- closeIssue
54+
eventResponderTasks:
55+
- if:
56+
- payloadType: Issue_Comment
57+
- hasLabel:
58+
label: stale
59+
then:
60+
- removeLabel:
61+
label: stale
62+
description:
63+
onFailure:
64+
onSuccess:

0 commit comments

Comments
 (0)