Skip to content

Commit

Permalink
- Fixed Release Notes: pattern for detection rls notes in PR body. …
Browse files Browse the repository at this point in the history
…Synced values to capital letters.
  • Loading branch information
miroslavpojer committed Oct 16, 2024
1 parent f8f9eb3 commit b8a34b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Add the following step to your GitHub workflow (in example are used non-default
This feature searches for release notes in the description of GitHub pull requests, making it easier for maintainers to track changes and updates.
- **Format:**
- The release notes section have to begin with the title `Release Notes:`, followed by the release notes in bullet points. [See Markdown formatting is supported](https://www.markdownguide.org/basic-syntax/#unordered-lists).
- If no release notes line is detected under the Release notes: "title," no release notes will be printed in the output.
- If no release notes line is detected under the `Release Notes:` title, no release notes will be printed in the output.
- **Example:**
- Here are examples of how to structure the release notes (case-sensitive):
```
Expand Down
2 changes: 1 addition & 1 deletion release_notes_generator/utils/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
ISSUE_STATE_ALL = "all"

# Release notes comment constants
RELEASE_NOTE_DETECTION_PATTERN = "Release notes:"
RELEASE_NOTE_DETECTION_PATTERN = "Release Notes:"
RELEASE_NOTE_LINE_MARKS = ["-", "*", "+"]

# Service chapters titles
Expand Down

0 comments on commit b8a34b1

Please sign in to comment.