Exempt specific files from Codeowners rules
Currently there is no way to exempt specific files from requiring code owner approval. **Solution** This adds support for exclusion patterns in CODEOWNERS using the '!' prefix: ``` * @default-owner # All files require approval !pom.xml # Except pom.xml which needs no approval ``` Changelog: added EE: true
显示
- ee/config/feature_flags/gitlab_com_derisk/codeowners_file_exclusions.yml 9 个添加, 0 个删除...re_flags/gitlab_com_derisk/codeowners_file_exclusions.yml
- ee/lib/gitlab/code_owners/entry.rb 12 个添加, 4 个删除ee/lib/gitlab/code_owners/entry.rb
- ee/lib/gitlab/code_owners/file.rb 26 个添加, 6 个删除ee/lib/gitlab/code_owners/file.rb
- ee/spec/lib/gitlab/code_owners/file_spec.rb 114 个添加, 0 个删除ee/spec/lib/gitlab/code_owners/file_spec.rb
加载中
想要评论请 注册 或 登录