phips28 / gh-action-bump-version

GitHub Action for automated npm version bump.
MIT License
336 stars 249 forks source link

Feature: check-last-commit-only option #211

Closed dnlcrl closed 1 year ago

dnlcrl commented 1 year ago

New check-last-commit-only option allows for configuring whether the version bump should only check the last commit's message. If set to 'false' (default/original behaviour), then the check will be made on all commit messages as usual. When set to 'true', only the latest commit message will be checked for a possible bump.

Addresses https://github.com/phips28/gh-action-bump-version/issues/82 when there are no active bumpers in other branches, but one would still want to check only the last commit message. This is particularly useful when we want to check only for a merged PR title for the bumping.

dnlcrl commented 1 year ago

Tyvm for your celerity :)

phips28 commented 1 year ago

thanks for contribution 🙂