Skip to content

Allow "dummy" ticket ids in commiticketing #26

Open

Description

@sleicht

I know that it goes against the original intent. But sometimes you simply don't have a ticket or are in a repository where the current ticket number doesn't make sense. For such cases, I sometimes use ticket numbers like TICKET-0000. This should also be allowed.
Sure, in the command line, the check can be temporarily disabled, but sometimes you're in a GUI or don't know the option right now.

Activity

  1. AFulgens commented on Nov 12, 2024

    @AFulgens
    Contributor

    Indeed, it kind of goes against the original intent of the hook. However, in case you are serious about the original intent, you would use cojira anyways, so I'm not 100% against relaxing the regex to allow [0-9]* instead of [1-9][0-9]*.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions