Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hook: Allow tag:/[tag]/{tag} prefixes in subject #37

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on May 15, 2023

  1. hook: Allow tag:/[tag]/{tag} prefixes in subject

    This hook didn't detect cap'd subject when prefixed with
    tag:/[tag]/{tag} eg.
    
    tag(scope): Subject cap check failed
    [tag] Subject cap check failed
    {tag} Subject cap check failed
    
    '@(+([[:alnum:]])?(\(+([[:alnum:]])\)):|\[+([[:alnum:][:punct:]])\]|\{+([[:alnum:][:punct:]])\}|squash\!)'
    matches the prefixes and removes it from subject line before checking.
    ahmubashshir committed May 15, 2023
    Configuration menu
    Copy the full SHA
    6a7ed7c View commit details
    Browse the repository at this point in the history
  2. test: Add tests for tag:/[tag]/{tag} prefixes

    See-also: 9ca300b (hook: Allow tag:/[tag]/{tag} prefixes in subject)
    ahmubashshir committed May 15, 2023
    Configuration menu
    Copy the full SHA
    cff1a71 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b0c60d7 View commit details
    Browse the repository at this point in the history
  4. hook: Allow linux-kernel style subject prefix

    Signed-off-by: Mubashshir <[email protected]>
    ahmubashshir committed May 15, 2023
    Configuration menu
    Copy the full SHA
    979b790 View commit details
    Browse the repository at this point in the history
  5. test: Add test for tag: subtag: prefix

    Signed-off-by: Mubashshir <[email protected]>
    ahmubashshir committed May 15, 2023
    Configuration menu
    Copy the full SHA
    bbc6975 View commit details
    Browse the repository at this point in the history