Skip to content

Why does exclude_commit_patterns not match parts within the commit message body? #1306

@spaceone

Description

@spaceone

Feature Request

Description

It seems the exclude_commit_patterns only match the commit title.

For a commit message like:

feat(ldap): add paginated search using VirtualListView and Server Side Sorting
    
skip-changelog
skip-build
skip-docs

Both options didn't exclude the commit:

[tool.semantic_release.changelog]
exclude_commit_patterns = [ 
   '''.*skip-changelog.*''',
   '''skip-changelog''',
]

Use cases

I would like to add a marker like skip-changelog to multiple commit messages, which make them be excluded from going into the changelog. The marker shouldn't be in the title of the commit message.

Possible implementation

Either allow by the above configuration, or provide a fixed identifier which makes the commit being ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy