bloonstormz/GitHub Tag

Bump and push git tag on merge

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenRequired for permission to tag the repo.yes
commit_shaThe commit SHA value to add the tag. If specified, it uses this value instead GITHUB_SHA. It could be useful when a previous step merged a branch into github.ref.no
default_bumpWhich type of bump to use when none explicitly provided when commiting (default: `patch`).nopatch
is_pre_releaseBoolean to indicate if a pre-release should be created.nofalse
pre_release_identifierIdentifier to use for pre-releases (default: `rc`).norc
tag_prefixA prefix to the tag name (default: `v`).nov
custom_tagCustom tag name. If the custom tag is not semver compatible, it overrides bump settings. Overrides pre_release_identifier and is_pre_release depending on the value.no
apply_prefix_to_custom_tagBoolean to indicate if the tag_prefix should be applied to the custom_tag.notrue
custom_release_rulesComma separated list of release rules. Format: `<keyword>:<release_type>`. Example: `hotfix:patch,pre-feat:preminor`.no
release_branchesComma separated list of branches (bash reg exp accepted) that will generate the release tags. Other branches and pull-requests generate versions postfixed with the commit hash and do not generate any tag. Examples: `master` or `.*` or `release.*,hotfix.*,master`...nomaster,main
create_annotated_tagBoolean to create an annotated tag rather than lightweight.nofalse
fetch_all_tagsBoolean to fetch all tags for a repo (if false, only the last 100 will be fetched).nofalse
dry_runDo not perform tagging, just calculate next version and changelog, then exit.nofalse
namedescription
new_tagGenerated tag
new_versionGenerated tag without the prefix
previous_tagPrevious tag (or `0.0.0`)
previous_versionThe value of the previous tag (or 0.0.0 if none) without the prefix. Note that if custom_tag is set, this will be undefined.
release_typeThe computed release type (`major`, `minor`, `patch` or `custom` - can be prefixed with `pre`)
changelogThe conventional changelog since the previous tag