action-semantic-pull-request icon indicating copy to clipboard operation
action-semantic-pull-request copied to clipboard

support custom descriptions for custom types

Open gofford opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe.

I am combining this action with https://github.com/google-github-actions/release-please-action to handle version increments. I would like to filter the possible types to a subset of the full conventional commit spec; specifically, I'd like to support only feat, fix, perf, docs and chore.

It is currently possible to define these as custom types, however doing so removes the useful description of each type in the outputs.error_message.

Describe the solution you'd like

I would like to either be able to subset the supported types (and retain the description). Or provide custom descriptions to my custom types.

Describe alternatives you've considered

None - this isn't currently possible.

gofford avatar May 09 '24 14:05 gofford

+1 and the same for types & scopes values as well. We need something like typesPatternError & scopesPatternError to modify the error message easily when we have a different regex pattern, like what we have in subjectPatternError. @amannn @derberg

aattalla avatar Aug 03 '25 01:08 aattalla

If someone would like to contribute this feature, I'd be happy to review the PR!

amannn avatar Aug 18 '25 08:08 amannn