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
Generate a formatted PR body for PR #{info.pr_number} following ClickHouse conventions.
17
+
18
+
## Required Sections
19
+
20
+
### 1. Changelog Category
21
+
Header: "### Changelog category (leave one):"
22
+
- If a category is already selected in the PR body: keep only that ONE category
23
+
- If no category is selected: include ALL categories below so the user can choose later
24
+
- Categories must be copied EXACTLY as written (character-for-character, including parentheses):
25
+
- New Feature
26
+
- Experimental Feature
27
+
- Improvement
28
+
- Performance Improvement
29
+
- Backward Incompatible Change
30
+
- Build/Testing/Packaging Improvement
31
+
- Documentation (changelog entry is not required)
32
+
- Critical Bug Fix (crash, data loss, RBAC) or LOGICAL_ERROR
33
+
- Bug Fix (user-visible misbehavior in an official stable release)
34
+
- CI Fix or Improvement (changelog entry is not required)
35
+
- Not for changelog (changelog entry is not required)
36
+
37
+
### 2. Changelog Entry
38
+
Header: "### Changelog entry (a [user-readable short description](https://github.com/ClickHouse/ClickHouse/blob/master/docs/changelog_entry_guidelines.md) of the changes that goes into CHANGELOG.md):"
39
+
- Include this section UNLESS the category says "changelog entry is not required"
40
+
- Reuse existing entry with grammar fixes, or generate from PR title if missing
41
+
- Keep it plain text, ≤50 words, no quotes or markdown formatting
42
+
- If PR mentions "Fixes/Resolves/Closes #NUMBER", append: "Resolves #NUMBER"
43
+
44
+
## Optional Sections
45
+
46
+
### 3. Documentation Entry
47
+
Header: "### Documentation entry for user-facing changes"
48
+
- Include only if present in original PR body
49
+
50
+
### 4. Details
51
+
Header: "### Details"
52
+
- Add any additional context from the original PR body
53
+
- Include issue link if referenced. for example: "Resolves #NUMBER"
54
+
55
+
## Formatting
56
+
- Separate all sections with blank lines
57
+
- Remove all markdown comments
58
+
59
+
## Output
60
+
- Write the final PR body to ./ci/tmp/pr_body_generated.md (do not update the actual PR).
61
+
- Do not print the PR body to stdout; only brief status logs if needed.
62
+
- Do not print non-ANSI characters in the logs to avoid encoding issues.
0 commit comments