Skip to content

Commit 72fcaec

Browse files
authored
Add breaking changes bot (#15039)
1 parent c9a26cb commit 72fcaec

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/policies/resourceManagement.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,37 @@ configuration:
4242
reply: This issue has been marked as duplicate and has not had any activity for **1 day**. It will be closed for housekeeping purposes.
4343
- closeIssue
4444
eventResponderTasks:
45+
- if:
46+
- payloadType: Issues
47+
- labelAdded:
48+
label: breaking-change
49+
then:
50+
- addReply:
51+
reply: >-
52+
Refer to the [.NET SDK breaking change guidelines](https://github.com/dotnet/sdk/blob/main/documentation/project-docs/breaking-change-guidelines.md#required-process-for-all-net-sdk-breaking-changes)
53+
description: Add breaking change doc instructions to issue
54+
- if:
55+
- payloadType: Pull_Request
56+
- labelAdded:
57+
label: breaking-change
58+
then:
59+
- addLabel:
60+
label: needs-breaking-change-doc-created
61+
- addReply:
62+
reply: >-
63+
Added `needs-breaking-change-doc-created` label because this PR has the `breaking-change` label.
64+
65+
66+
When you commit this breaking change:
67+
68+
69+
1. [ ] Create and link to this PR and the issue a matching issue in the dotnet/docs repo using the [breaking change documentation template](https://aka.ms/dotnet/docs/new-breaking-change-issue), then remove this `needs-breaking-change-doc-created` label.
70+
71+
2. [ ] Ask a committer to mail the `.NET SDK Breaking Change Notification` email list.
72+
73+
74+
You can refer to the [.NET SDK breaking change guidelines](https://github.com/dotnet/sdk/blob/main/documentation/project-docs/breaking-change-guidelines.md)
75+
description: Add breaking change instructions to PR.
4576
- if:
4677
- payloadType: Issue_Comment
4778
- isAction:

0 commit comments

Comments
 (0)