Avielle Wolfe
编辑于
Boolean and number input types were not be respected by CI interpolation. They were being cast to strings when interpolated by `gsub`. This commit fixes that by replacing the entire node with the input value when the interpolation block is the entire length of the node. In other cases, we can assume that the input is being inserted into a string, so it's safe for us to use `gsub` to cast the value to a string and perform the insertion. This commit also ensures that the ability to match and replace multiple interpolation blocks in a single node is not affected. A previous attempt to fix this bug caused an incident because it only interpolated the first block in a node. Changelog: fixed Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/434826
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。