You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/policies/author-action.yml
+19-2Lines changed: 19 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,25 @@
1
1
name: GitOps.PullRequestIssueManagement
2
-
description: Add and remove needs-author-action label to issues and PRs
2
+
description: Add and remove needs-author-action label from issues and PRs, and close stale issues.
3
3
resource: repository
4
4
5
5
configuration:
6
6
resourceManagementConfiguration:
7
+
scheduledSearches:
8
+
- frequencies:
9
+
- daily:
10
+
time: 12:00
11
+
filters:
12
+
- isIssue
13
+
- isOpen
14
+
- hasLabel:
15
+
label: needs-author-action
16
+
- noActivitySince:
17
+
days: 14
18
+
actions:
19
+
- addReply:
20
+
reply: This issue has been automatically closed due to no response from the original author. Feel free to reopen it if you have more information that can help us investigate the issue further.
21
+
- closeIssue
22
+
7
23
eventResponderTasks:
8
24
- description: Needs-author-action notification
9
25
if:
@@ -12,7 +28,8 @@ configuration:
12
28
label: needs-author-action
13
29
then:
14
30
- addReply:
15
-
reply: This issue has been marked `needs-author-action` and might be missing some important information.
31
+
reply: >-
32
+
@${issueAuthor} - This issue has been marked `needs-author-action` and might be missing some important information.
16
33
17
34
- description: PR reviews with "changes requested" applies the needs-author-action label
0 commit comments