Skip to content

Sync project_push_rules on push_rules write operations

What does this MR do and why?

This MR adds PostgreSQL triggers and functions to synchronize the project_push_rules table when there's a write operation on the push_rules table

It is the second step of the plan outlined in Add triggers to copy data from push_rules to project_push_rules similar to what we have for organization_push_rules and group_push_rules.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #499156

Merge request reports

Loading