gitee_update_push_config
Update repository push rules to restrict push to own commits, author email suffixes, and commit message formats.
Instructions
Update repository push rules
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner": "<owner>",
"repo": "<repo>"
},
"name": "gitee_update_push_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner (user/org/enterprise path) | |
| repo | Yes | Repository path name | |
| restrict_push_own_commit | No | Restrict push to own commits | |
| restrict_author_email_suffix | No | Restrict author email suffix | |
| author_email_suffix | No | Allowed email suffix | |
| restrict_commit_message | No | Restrict commit message format | |
| commit_message_regex | No | Commit message regex pattern | |
| except_manager | No | Exempt managers |