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.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,17 @@
6
6
7
7
# Contributor Checklist
8
8
9
-
- Format the title [according the contribution guidelines](https://github.com/DataDog/dd-trace-java/blob/master/CONTRIBUTING.md#title-format)
10
-
- Assign the `type:` and (`comp:` or `inst:`) labels in addition to [any useful labels](https://github.com/DataDog/dd-trace-java/blob/master/CONTRIBUTING.md#labels)
11
-
-Don't use`close`, `fix` or any [linking keywords](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) when referencing an issue.
9
+
- Format the title according to [the contribution guidelines](https://github.com/DataDog/dd-trace-java/blob/master/CONTRIBUTING.md#title-format)
10
+
- Assign the `type:` and (`comp:` or `inst:`) labels in addition to [any other useful labels](https://github.com/DataDog/dd-trace-java/blob/master/CONTRIBUTING.md#labels)
11
+
-Avoid using`close`, `fix`, or [any linking keywords](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) when referencing an issue
12
12
Use `solves` instead, and assign the PR [milestone](https://github.com/DataDog/dd-trace-java/milestones) to the issue
13
-
- Update the [CODEOWNERS](https://github.com/DataDog/dd-trace-java/blob/master/.github/CODEOWNERS) file on source file addition, move, or deletion
14
-
- Update the [public documentation](https://docs.datadoghq.com/tracing/trace_collection/library_config/java/)in case of new configuration flag or behavior
13
+
- Update the [CODEOWNERS](https://github.com/DataDog/dd-trace-java/blob/master/.github/CODEOWNERS) file on source file addition, migration, or deletion
14
+
- Update [public documentation](https://docs.datadoghq.com/tracing/trace_collection/library_config/java/)with any new configuration flags or behaviors
15
15
16
16
Jira ticket: [PROJ-IDENT]
17
17
18
+
***Note:*****Once your PR is ready to merge, add it to the merge queue by commenting `/merge`.**`/merge -c` cancels the queue request. `/merge -f --reason "reason"` skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see [this doc](https://datadoghq.atlassian.net/wiki/spaces/DEVX/pages/3121612126/MergeQueue).
19
+
18
20
<!--
19
21
# Opening vs Drafting a PR:
20
22
When opening a pull request, please open it as a draft to not auto assign reviewers before you feel the pull request is in a reviewable state.
Copy file name to clipboardExpand all lines: .github/workflows/check-pull-request-labels.yaml
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ jobs:
31
31
'inst:',
32
32
'tag:',
33
33
'mergequeue-status:',
34
+
'team:',
34
35
'performance:', // To refactor to 'ci: ' in the future
35
36
'run-tests:' // Unused since GitLab migration
36
37
]
@@ -55,7 +56,7 @@ jobs:
55
56
'**This PR is blocked until:**\n' +
56
57
'1. The invalid labels are deleted, and\n' +
57
58
'2. A maintainer deletes this comment to unblock the PR\n\n' +
58
-
'**Note:** Simply removing labels from the pull request is not enough - a maintainer must remove the label and delete this comment to remove the block.\n\n' +
59
+
'**Note:** Simply removing labels from the pull request is not enough - a maintainer must delete this comment then remove the label to remove the block.\n\n' +
59
60
commentMarker
60
61
61
62
if (blockingComment) {
@@ -79,5 +80,9 @@ jobs:
79
80
}
80
81
if (blockingComment) {
81
82
// Block the PR by failing the workflow
82
-
core.setFailed(`PR blocked: Invalid labels detected: (${invalidLabels.join(', ')}). A maintainer must delete the blocking comment after fixing the labels to allow merging.`)
83
+
if (hasInvalidLabels) {
84
+
core.setFailed(`PR blocked: Invalid labels detected: (${invalidLabels.join(', ')}). A maintainer must delete the blocking comment after fixing the labels to allow merging.`)
85
+
} else {
86
+
core.setFailed(`PR blocked: A previous blocking comment still exists. A maintainer must delete it to allow merging.`)
Download and install the installer from [the official website](https://git-scm.com/download/win) or install it using the Windows package manager `winget`:
117
+
Download and install the installer from [the official website](https://git-scm.com/download/win), or install it using the Windows package manager `winget`:
0 commit comments