create_github_tag
Automatically creates a GitHub tag in a specified repository with a defined name and message, facilitating version control and release management.
Instructions
Creates a GitHub tag for the specified repository.
Args:
repo_owner (str): The owner of the GitHub repository.
repo_name (str): The name of the GitHub repository.
tag_name (str): The name of the tag to create.
message (str): The message associated with the tag.
Returns:
str: A success message if the tag is created successfully, or an error message if an exception occurs.
Error Handling:
Logs and returns an error message if the tag creation fails due to an exception.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
message | Yes | ||
repo_name | Yes | ||
repo_owner | Yes | ||
tag_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"message": {
"title": "Message",
"type": "string"
},
"repo_name": {
"title": "Repo Name",
"type": "string"
},
"repo_owner": {
"title": "Repo Owner",
"type": "string"
},
"tag_name": {
"title": "Tag Name",
"type": "string"
}
},
"required": [
"repo_owner",
"repo_name",
"tag_name",
"message"
],
"title": "create_github_tagArguments",
"type": "object"
}