Skip to content

Validate syntax when a subscription has an invalid label #385

@DHaussermann

Description

@DHaussermann

If a user mistakenly forgets the " on the label, the label has no affect and it's not obvious why.

Ideally we can prevent this by checking if label: is followed by a value in quotes to prevent user error. If we showed a message such as no valid label provided this would be far more forgiving.

Steps:

  • type /github subscribe DHaussermann/hello-world pulls,issues,creates,deletes,label:Apples with Apples instead of "Apples"
  • Subscription successful

Observed Label has no affect as no valid label was provided

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions