Skip to content
代码片段 群组 项目
用户头像
Vasilii Iakliushin 编辑于
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/491282

**Problem**

Currently, diff scan is applied only to git pushes via ssh/https
protocol, because there was no way to distiguishing between RPC actions
that triggered the scan.

For example, we want to skip the check for merge commit creation but
verify commits created via WebIDE.

https://gitlab.com/gitlab-org/gitlab/-/issues/423992 introduces an
option to pass additional context from Gitaly RPC endpoint to the
checker code.

**Solution**

* Provide `enable_secrets_check` to selected RPC endpoints
* Run diff scan for checks triggered by calls to these endpoints
d19f0707
历史
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。