Introduce ChangedBlobs service for push checks
What
Introduce ChangedBlobs
service for push checks
Why
This MR refactors the blobs retrieval logic out of the secrets check push rule. This service can be further reused by other areas. This service is very similar to https://gitlab.com/gitlab-org/gitlab/-/blob/id-introduce-changed-blobs-service/lib/gitlab/checks/file_size_check/hook_environment_aware_any_oversized_blobs.rb, but is more general in naming and functionality, so HookEnvironmentAwareAnyOversizedBlobs
service can inject ChangedBlobs
service to reuse the functionality.
Edited by Igor Drozdov