7factor/Versioning Action

Verifies labels on PRs and creates semantically versioned releases when PRs are merged

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jan 31, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: 7factor/pr-semver-release-action@068222912c77161a9bc7c5557db718e7f24984b5 # v1.0.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github_tokenThe GitHub token to use for authentication.yes
update_major_minor_tagsWhen 'true', the action will update relevant major and minor tags (e.g. v1, v1.2) to point to the newly created release. nofalse
tag_prefixPrefix to append to git tags. To unset this, set version_prefix to an empty string.nov
release_nameName of the release. Supports these template variables: <RELEASE_VERSION> the version number, e.g. "1.2.3" <RELEASE_TAG> the git tag name, e.g. "v1.2.3" no<RELEASE_TAG>
dry_runWhen set to 'true', will compute the next tag, but will not create a release.nofalse
dry_run_on_prWhen set to 'true', will perform a dry run on PR events. Otherwise, does not run release action at all on PR events. When update_major_minor_tags is 'true', a PR dry run will not update tags. nofalse
no_release_labelLabel to apply to PRs that should not trigger a release. If set, PRs with this label will not trigger a release. nono release
namedescription
tag_nameTag of released version. Only available on push events.
versionVersion of release. Only available on push events.
bodyGithub Release Body in Text. Only available on push events.
upload_urlGithub Release Upload URL. Only available on push events.