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/PULL_REQUEST_TEMPLATE/servicing_pull_request_template.md
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,5 +24,4 @@ main PR <!-- Link to PR if any that fixed this in the main branch. -->
24
24
25
25
# Package authoring signed off?
26
26
27
-
28
-
IMPORTANT: If this change touches code that ships in a NuGet package, please make certain that you have added any necessary [package authoring](https://github.com/dotnet/runtime/blob/main/docs/project/library-servicing.md) and gotten it explicitly reviewed.
27
+
IMPORTANT: If this change touches code that ships in a NuGet package, please make certain that you have added any necessary [package authoring](../../docs/project/library-servicing.md) and gotten it explicitly reviewed.
Copy file name to clipboardExpand all lines: .github/workflows/check-service-labels.yml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,12 @@ jobs:
13
13
check-labels:
14
14
runs-on: ubuntu-latest
15
15
steps:
16
-
- name: Check servicing labels
16
+
- name: Check 'Servicing-approved' label
17
17
run: |
18
+
echo "Merging permission is enabled for servicing PRs when the `Servicing-approved` label is applied."
18
19
if [ "${{ contains(github.event.pull_request.labels.*.name, 'Servicing-approved') }}" = "true" ]; then
19
20
exit 0
20
21
else
22
+
echo "::error:: 'Servicing-approved' label not applied to the PR yet. More information: https://github.com/dotnet/runtime/blob/main/docs/project/library-servicing.md#approval-process"
Copy file name to clipboardExpand all lines: docs/project/library-servicing.md
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# How to service a library
2
2
3
-
This document provides the steps necessary after modifying a library in a servicing branch.
3
+
This document provides the steps that need to be followed after modifying a library in a servicing branch.
4
4
5
5
Servicing branches represent shipped versions of .NET, and their name is in the format `release/X.0-staging`. Examples:
6
6
@@ -39,5 +39,15 @@ All the servicing change must go through an approval process. You have two ways
39
39
For both cases, you must:
40
40
41
41
- Fill out the template of the PR description.
42
-
- Add the `servicing-consider` label.
43
-
- Bring it to the attention of the engineering lead responsible for the area, so they consider the fix for servicing.
42
+
- Bring it to the attention of the [engineering lead responsible for the area](~/docs/area-owners.md).
43
+
- If the fix is a product change, the area owner will:
44
+
- Add the `Servicing-consider` label.
45
+
- Ask the area owner to champion your PR in the .NET Tactics meeting to request merge approval.
46
+
- If the change is approved, they will replace the `Servicing-consider` label by `Servicing-approved` and sign-off the PR.
47
+
- If the fix is a test-only or infra-only change, the area owner will:
48
+
- Review the PR and sign-off if they approve it.
49
+
- Add the `Servicing-approved` label.
50
+
51
+
The area owner can then merge the PR once the CI looks good (it's either green or the failures are investigated and determined to be unrelated to the PR).
52
+
53
+
**Note**: Applying the `Servicing-approved` label ensures the `check-service-labels` CI job passes, which is a mandatory requirement for merging a PR in a servicing branch.
0 commit comments