actions-marketplace-validations/Tag version commit

tag commits whose title matches a version regex

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
tokenGitHub token, required for permission to create a tag. yes
version_regexThe version regex to use for detecting version in commit messages. The regex has to contain either 0 or 1 capture group. no^[0-9]+\.[0-9]+\.[0-9]+$
version_assertion_commandCommand to run to validate the version, e.g. compare against a version file. Use "$version" in the command and it will be replaced by the new version, without the prefix. no""
version_tag_prefixA prefix to prepend to the detected version number to create the tag (e.g. "v"). no""
commitCommit SHA to use for checking version. HEAD commit will be used if the value is empty (default). no""
check_entire_commit_messageCheck the entire commit message, not just the title, for a matching version. nofalse
annotatedWhether to create an annotated tag, using the commit body as the message. nofalse
dry_runDo everything except actually create the tag. nofalse
namedescription
tagThe tag that has been created, or an empty string or not tag was created.
messageThe message of the tag that has been created, if annotated.
commitThe commit that was tagged, or an empty string or not tag was created.