Skip to content

Commit acb8274

Browse files
authored
Create close-issues.yml (dotnet#10740)
1 parent bc434e6 commit acb8274

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/policies/close-issues.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Close issues
2+
description: Close issues based on label.
3+
resource: repository
4+
where:
5+
configuration:
6+
resourceManagementConfiguration:
7+
eventResponderTasks:
8+
- description: Close issues labeled 'code-of-conduct'
9+
if:
10+
- payloadType: Issues
11+
- hasLabel:
12+
label: code-of-conduct
13+
then:
14+
- closeIssue

0 commit comments

Comments
 (0)