Skip to content

ignore leading/trailing blanks in /label comments issues #416

@mawinter69

Description

@mawinter69

in Jenkins core in the PR template the requirement to provide labels was added.
In many PR the labels are separated by a comma followed by a blank. e.g. /label web-ui, bug This then leads to the error:

I wasn't able to add the following labels: bug

Check that [the label exists](https://github.com/jenkinsci/jenkins/labels) and is spelt right then try again.

So it would be good if the label detection is relaxed and accepts blanks after a comma, maybe just trim the entries

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions