Label
^^^^^^^^^^^^^^

::

    - do: label
      no_empty:
         enabled: false # Cannot be empty when true.
         message: 'Custom message...'
      must_include:
         regex: 'type|chore|wont'
         regex_flag: 'none' # Optional. Specify the flag for Regex. default is 'i', to disable default use 'none'
         message: 'Custom message...'
      must_exclude:
         regex: 'DO NOT MERGE'
         regex_flag: 'none' # Optional. Specify the flag for Regex. default is 'i', to disable default use 'none'
         message: 'Custom message...'
      begins_with:
         match: 'A String' # or array of strings
         message: 'Some message...'
      ends_with:
         match: 'A String' # or array of strings
         message: 'Come message...'
      jira:
        regex: '[A-Z][A-Z0-9]+-\d+'
        regex_flag: none
        message: 'The Jira ticket does not exist'
      # all of the message sub-option is optional

::

    - do: label
      and:
        - must_include:
            regex: 'big|medium|small'
            message: 'Custom message...'
        - must_include:
            regex: 'type|chore|wont'
            message: 'Custom message...'
      or:
        - must_include:
            regex: 'Ready to merge'
            message: 'Custom message...'
        - must_include:
            regex: 'DO NOT MERGE'
            message: 'Custom message...'

you can also nest ``and`` and ``or`` options

::

    - do: label
      and:
        - or:
          - must_include:
              regex: 'feat|fix|chore'
              message: 'Custom message...'
          - must_include:
              regex: 'major|minor|patch'
              message: 'Custom message...'
        - must_include:
            regex: 'Ready to merge'
            message: 'Custom message...'


Supported Events:
::

    'pull_request.*', 'pull_request_review.*', 'issues.*'