K-Phoen / semver-release-action

GitHub Action to automatically create SemVer compliant releases based on PR labels.
MIT License
85 stars 38 forks source link

Allow specifying a default semver version bump when no label is provided #26

Closed cbrwizard closed 2 years ago

cbrwizard commented 4 years ago

It would be cool to allow specifying a default semver version bump in case when no labels are provided in a PR.

Eg: default_version: patch, so that patch version gets bumped by default. If a user doesn't provide default_version then a label is required as before. If default_version is provided, but a pr has a different version label eg minor, then a pr's label gets priority.

K-Phoen commented 4 years ago

Hi!

Thanks for opening this issue :)

As the main goal of this action is to bump the version only when a label is provided, I'm currently not in favor of introducing such feature. That being said, I'll leave this issue open to see if more people request it, and if so, I'll consider it.

lucaskjaero commented 4 years ago

Hi! I also would like this feature.

elliotjberman commented 4 years ago

+1

joe-bowman commented 4 years ago

+1

acidjazz commented 4 years ago

+1

stormmore commented 4 years ago

+1

It would be preferable to only to have to label the next minor or next major version and just assume if no label means patch

krogon commented 3 years ago

@K-Phoen please take a look at https://github.com/K-Phoen/semver-release-action/pull/39 I tried to preserve your need to have label and the voices of the rest.