actions-marketplace-validations/Generalized Automatic Tags
Automatically generate new tags by extracting their names from a given source file.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| source_file | This is the file the action will look for the current tag name in. | — | — |
| extraction_regex | This regex pattern will be applied on the source file to extract the current tag name. The first match will be taken. The deepest capture group will be used. | — | — |
| tag_format | By default, no operation will be applied to the tag names. Changing the format allows to add prefixes and suffixes to them. | no | {version} |
| tag_message | This is the annotated commit message associated with the tag. By default, a changelog will be generated from the commits between the latest tag and the new tag. This will override that with a hard-coded message. | no | — |
Outputs
| name | description |
|---|---|
| tagname | Returns the new tag value. Empty if a tag is not created. |
| tagsha | The SHA of the new tag. |
| taguri | The URI/URL of the new tag reference. |
| tagmessage | The message applied to the tag reference (this is what shows up on the tag screen on Github). |
| version | The version, as defined in the source file. |