Support regex as major/minor match patterns

This commit is contained in:
Paul Hatcherian 2021-01-23 00:32:35 -05:00
parent 9e192e115f
commit 9475102a4a
5 changed files with 58 additions and 16 deletions

View file

@ -13,11 +13,11 @@ inputs:
required: false
default: "v"
major_pattern:
description: "A string which, if present in a git commit, indicates that a change represents a major (breaking) change"
description: "A string which, if present in a git commit, indicates that a change represents a major (breaking) change. Wrap with '/' to match using a regular expression."
required: true
default: "(MAJOR)"
minor_pattern:
description: "A string which, if present in a git commit, indicates that a change represents a minor (feature) change"
description: "A string which, if present in a git commit, indicates that a change represents a minor (feature) change. Wrap with '/' to match using a regular expression."
required: true
default: "(MINOR)"
format: