diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-28 18:08:30 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-28 18:08:30 +0000 |
commit | 7f3f19582b13b4162212bcf0ae72eef63685ffbc (patch) | |
tree | 3f7123587a68611c5443f05e33b5789c784e3d63 /doc/user/project/import | |
parent | 1bb7f81e238569fd0fe2b0c4385f1015407a2d59 (diff) | |
download | gitlab-ce-7f3f19582b13b4162212bcf0ae72eef63685ffbc.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user/project/import')
-rw-r--r-- | doc/user/project/import/github.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/user/project/import/github.md b/doc/user/project/import/github.md index a840fd3c293..818cd7e1b74 100644 --- a/doc/user/project/import/github.md +++ b/doc/user/project/import/github.md @@ -194,6 +194,15 @@ References to pull requests and issues are preserved. Each imported repository m [visibility level is restricted](../../public_access.md#restrict-use-of-public-or-internal-projects), in which case it defaults to the default project visibility. +### Branch protection rules + +Supported GitHub branch protection rules are mapped to GitLab branch protection rules or project-wide GitLab settings when they are imported: + +- GitHub rule **Require conversation resolution before merging** for the project's default branch is mapped to the [**All threads must be resolved** GitLab setting](../../discussions/index.md#prevent-merge-unless-all-threads-are-resolved). [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/371110) in GitLab 15.5. +- Support for GitHub rule **Require a pull request before merging** is proposed in issue [370951](https://gitlab.com/gitlab-org/gitlab/-/issues/370951). +- Support for GitHub rule **Require signed commits** is proposed in issue [370949](https://gitlab.com/gitlab-org/gitlab/-/issues/370949). +- Support for GitHub rule **Require status checks to pass before merging** is proposed in issue [370948](https://gitlab.com/gitlab-org/gitlab/-/issues/370948). + ## Alternative way to import notes and diff notes When GitHub Importer runs on extremely large projects not all notes & diff notes can be imported due to GitHub API `issues_comments` & `pull_requests_comments` endpoints limitation. |