Skip to content

# Refactor: Improve Types of changes detection with case-insensitive check#51

Merged
Wangggym merged 5 commits intomasterfrom
ym/Refactor-Improve-Types-of-changes-detection-with-case-insensitive-check
Jan 26, 2026
Merged

# Refactor: Improve Types of changes detection with case-insensitive check#51
Wangggym merged 5 commits intomasterfrom
ym/Refactor-Improve-Types-of-changes-detection-with-case-insensitive-check

Conversation

@Wangggym
Copy link
Copy Markdown
Owner

@Wangggym Wangggym commented Jan 26, 2026

PR Ready

Types of changes

  • refactor

Summary

Improved Types of changes detection to be case-insensitive.
改进 Types of changes 检测逻辑,支持不区分大小写。

Changes

  • Use case-insensitive check for Types of changes section
  • Prevent duplicate Types of changes in PR body

Note

Improves PR metadata generation in pr_create.go.

  • Enhanced title extraction from prDesc by scanning after ## Summary for the first non-empty, non-header line; falls back safely to other lines
  • In buildPRBody, adds a case-insensitive check for an existing Types of changes section and only auto-adds it when types are provided and the section is absent, preventing duplicates

Written by Cursor Bugbot for commit c4be07a. This will update automatically on new commits. Configure here.

@Wangggym Wangggym merged commit e5e97de into master Jan 26, 2026
3 checks passed
@Wangggym Wangggym deleted the ym/Refactor-Improve-Types-of-changes-detection-with-case-insensitive-check branch January 26, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant