Skip to content

conventional-commit parser fail to parse the Gitlab commit identifier #1299

@dabbb

Description

@dabbb

Bug Report

Description

Any reference to a gitlab issue on a commit is transformed in a link to an epic with the same identifier in the CHANGELOG.md file when using conventional-commit parser.

Maybe because # is the issue identifier on gitlab but the epic identifier on github.

Expected behavior

I would have a link to the issue instead of a link to the epic.

Actual behavior

For example a commit with this message "fix: minor bug (#3)" is transformed in the CHANGELOG.md into a link to the epic 3.

Environment

  • Operating System (w/ version): Redhat9
  • Python version: 3.11.13
  • Pip version: 22.3.1
  • Semantic-release version: 10.2.0
  • Build tool (w/ version):
pip freeze
annotated-types==0.7.0
certifi==2025.7.14
charset-normalizer==3.4.2
click==8.1.8
click-option-group==0.5.7
Deprecated==1.2.18
dotty-dict==1.3.1
gitdb==4.0.12
GitPython==3.1.44
idna==3.10
importlib_resources==6.5.2
Jinja2==3.1.6
markdown-it-py==3.0.0
MarkupSafe==3.0.2
mdurl==0.1.2
pydantic==2.11.7
pydantic_core==2.33.2
Pygments==2.19.2
python-gitlab==6.1.0
python-semantic-release==10.2.0
requests==2.32.4
requests-toolbelt==1.0.0
rich==14.0.0
shellingham==1.5.4
smmap==5.0.2
tomlkit==0.13.3
typing-inspection==0.4.1
typing_extensions==4.14.1
urllib3==2.5.0
wrapt==1.17.2

git log --oneline --decorate --graph --all -n 50

Configuration

Semantic Release Configuration

Build System Configuration

GitHub Actions Job Definition

Execution Log

semantic-release -vv command

Additional context

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