Skip to content

Add ability to edit existing push rules

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

Update the gitlab_project_push_rules resource to edit existing rules on Create as I ran into an issue where creating a project on gitlab.com automatically adds push rules on the project, so a Create that is and add only cause the terraform to fail. This will check for existing rules in Create in order to determine if it should update or add new.

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading