{"repo":"jefflinse/pr-semver-bump","free":true,"listed":false,"github":"https://github.com/jefflinse/pr-semver-bump","clone":"git clone https://github.com/jefflinse/pr-semver-bump.git","description":"A GitHub Action to bump and tag a new semantic version when a pull request is merged.","language":"JavaScript","stars":28,"topics":["github","action","github-actions","semantic-version","semantic-versioning","semver","tag","release","release-automation","pull-request"],"license":"MIT","category":"workflow-automation","readme_excerpt":"pr-semver-bump A GitHub Action to bump and tag a new semantic version when a pull request is merged. A typical workflow using this action is: 1. A developer creates a pull request. 2. The nature of the next version is discussed as part of a code review. A specific tag is applied to the pull request indicating the nature of the changes (e.g. \"major\", \"minor\", or \"patch\"). 3. Upon merging the pull request, a new semantic version is tagged automatically. The version number and release notes are determined using the pull request's metadata. Many inputs are customizable and the outputs can be used in downstream steps or jobs. See the full example. Motivation Most version bumping workflows rely on the presense of substrings in commit messages to determine which version part to change (major, minor, or patch). This is often clunky and error-prone. This action shifts that responsibility to the pull request level , allowing developers to specify the next release version using a pull request label and enter release notes directly in the description. These aspects of the release can be discussed alongside the actual code changes. Usage pr-semver-bump runs in one of two modes: validate and bump . Use validate mode as a merge gate for pull requests to ensure they contain the necessary metadata for your next release: Use bump mode to tag a new release after a pull request actually merges, using that metadata: The action will fail (in either mode) if any of the following are true: - the pul","default_branch":null,"files":null,"tree":[],"storefront":"/r/jefflinse","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jefflinse/pr-semver-bump/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}