Map 'Require pull request before merging' GitHub rule with access_levels
Select Developers + Maintainers in the Allowed to merge list, and select 'No one' in the 'Allowed to push list' in GitLab protected branch settings when importing a GitHub project to GitLab if the "Require a pull request before merging" GitHub protected rule is enabled. Details: https://gitlab.com/gitlab-org/gitlab/-/issues/370951 Changelog: added
显示
- app/models/protected_branch/merge_access_level.rb 2 个添加, 0 个删除app/models/protected_branch/merge_access_level.rb
- app/models/protected_branch/push_access_level.rb 2 个添加, 0 个删除app/models/protected_branch/push_access_level.rb
- doc/user/project/import/github.md 1 个添加, 1 个删除doc/user/project/import/github.md
- lib/gitlab/github_import/importer/protected_branch_importer.rb 71 个添加, 2 个删除...itlab/github_import/importer/protected_branch_importer.rb
- lib/gitlab/github_import/representation/protected_branch.rb 5 个添加, 3 个删除lib/gitlab/github_import/representation/protected_branch.rb
- spec/lib/gitlab/github_import/importer/protected_branch_importer_spec.rb 111 个添加, 4 个删除.../github_import/importer/protected_branch_importer_spec.rb
- spec/lib/gitlab/github_import/importer/protected_branches_importer_spec.rb 6 个添加, 0 个删除...ithub_import/importer/protected_branches_importer_spec.rb
- spec/lib/gitlab/github_import/representation/protected_branch_spec.rb 12 个添加, 1 个删除...lab/github_import/representation/protected_branch_spec.rb
想要评论请 注册 或 登录