Skip to content

Does not ignore issue references inside commented content #143

@LuisUrrutia

Description

@LuisUrrutia

We are using Pull Request templates that include commented guidance for contributors, for example:

<!-- Add any related issues i.e.: Fixes #123 -->

Currently, issue-parser detects and parses issue references inside commented sections.

Expected behavior

Issue references inside commented blocks (such as HTML comments) should be ignored and not included in the parsed results.

Actual behavior

Even though the content is commented out, the parser detects references like Fixes #123 and exposes them to downstream plugins (e.g. @semantic-release/github), affecting release behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions