Skip to content

Skip pre-receive SD on deletes

rossfuhrman requested to merge rf-skip-pre-rec-on-deletion into master

What does this MR do and why?

Skip pre-receive SD on deletes

We should skip pre-receive secret detection on delete actions, which is indicated by a blank ref. This can time out for large repos.

Changelog: fixed

This change is in support of Branch deletion timing out (#461497 - closed) where we were seeing timeouts on deleting branches for the gitlab-org/gitlab repo.

MR acceptance checklist

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

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by rossfuhrman

Merge request reports

Loading