7factor/Versioning Action
Verifies labels on PRs and creates semantically versioned releases when PRs are merged
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Jan 31, 2025
- License
- MIT
Pinned Snippet
uses: 7factor/pr-semver-release-action@068222912c77161a9bc7c5557db718e7f24984b5 # v1.0.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | The GitHub token to use for authentication. | yes | — |
| update_major_minor_tags | When 'true', the action will update relevant major and minor tags (e.g. v1, v1.2) to point to the newly created release. | no | false |
| tag_prefix | Prefix to append to git tags. To unset this, set version_prefix to an empty string. | no | v |
| release_name | Name 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_run | When set to 'true', will compute the next tag, but will not create a release. | no | false |
| dry_run_on_pr | When 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. | no | false |
| no_release_label | Label to apply to PRs that should not trigger a release. If set, PRs with this label will not trigger a release. | no | no release |
Outputs
| name | description |
|---|---|
| tag_name | Tag of released version. Only available on push events. |
| version | Version of release. Only available on push events. |
| body | Github Release Body in Text. Only available on push events. |
| upload_url | Github Release Upload URL. Only available on push events. |