Update a group's push rules
One step with GitLab. We can help you get access.
Get something done
Update a group's push rules
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Push rules API lets you update a group's push rules in a single step (PUT /api/v4/groups/{id}/push_rule). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I change the push rules on a group?
- Can I require signed commits for a group?
Say it to your AI assistant
- Update the push rules of group {id}.
- Set the branch name regex on group {id} to {branch_name_regex}.
For your developer
PUT /api/v4/groups/{id}/push_rule in GitLab REST Push rules API. Full spec on APIs.io.