Update a project's push rules
One step with GitLab. We can help you get access.
Get something done
Update a project's push rules
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Push rules API lets you update a project's push rules in a single step (PUT /api/v4/projects/{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 project?
- Can I require committer email checks for a project?
Say it to your AI assistant
- Update the push rules of project {id}.
- Set the commit author email regex on project {id} to {author_email_regex}.
For your developer
PUT /api/v4/projects/{id}/push_rule in GitLab REST Push rules API. Full spec on APIs.io.