Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

dkaser
Copy link
Collaborator

@dkaser dkaser commented Sep 16, 2025

Summary by CodeRabbit

  • Chores
    • Improved release automation to produce cleaner, user-friendly release notes by removing conventional-commit prefixes (e.g., feat:, fix:, chore:, refactor:, with optional scopes) from PR titles.
    • This change streamlines how changes are presented in future releases, making entries easier to scan and understand.
    • No impact on product functionality; affects release notes formatting only.

Copy link

coderabbitai bot commented Sep 16, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Added a replacers rule to .github/release-drafter.yml to remove conventional-commit prefixes (feat, fix, chore, refactor, with optional scope) from PR titles in generated release notes using a start-anchored regex.

Changes

Cohort / File(s) Summary
Release Drafter configuration
\.github/release-drafter.yml
Introduced replacers with regex `/^(feat

Sequence Diagram(s)

sequenceDiagram
    autonumber
    participant GH as GitHub Release Drafter
    participant PR as Pull Request Title
    participant CFG as .github/release-drafter.yml

    GH->>CFG: Load configuration (replacers)
    GH->>PR: Read PR title
    note over GH,PR: Apply regex: /^(feat|fix|chore|refactor)(\(.+\))?: /
    alt Prefix matches
        GH->>GH: Strip matched prefix
    else No match
        GH->>GH: Keep original title
    end
    GH->>GH: Generate release notes entry with processed title
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch release-replacer

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9a2dbd7 and 76a3e9f.

📒 Files selected for processing (1)
  • .github/release-drafter.yml (1 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added the ci label Sep 16, 2025
@dkaser dkaser merged commit 737bfca into trunk Sep 16, 2025
4 of 5 checks passed
@dkaser dkaser deleted the release-replacer branch September 16, 2025 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant