GitlabShell verify access sending ‘_any’ as the changes made on the git command, in those cases Gitlab::Checks::ChangeAccess won’t receive a branch_name so we don’t need to check for access to the protected branches on that repository. So we avoid some git operations in case the are not cached (empty_repo?) and some database lookups to get protected branches. These request is happening in every push. |
||
|---|---|---|
| .. | ||
| change_access.rb | ||
| force_push.rb | ||
| matching_merge_request.rb | ||