Branch protection rules also support migration from ADO? didn't work #1202
-
Hi everyone. We need to import ADO repos to GH and I used the tool to create migration script and did a demo migration. However, when I checked on ADO there are branch protection rules but those are not migrated to GH, also checked migration logs but no errors, so GH repo shows no branch protection rules. What would be your suggestions in this case? Looking for your help, thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@maxmanus96 Thanks for reaching out! GitHub Enterprise Importer does support migrating some branch protections from ADO - specifically "branch protections for the repository (user-scoped branch protections not included)". Would you be able to share some more details on the branch protections that weren't migrated? If you aren 't comfortable posting them here, feel free to email me at the @github.com email address on my profile. |
Beta Was this translation helpful? Give feedback.
👋🏻 GitHub Product Manager here! I've investigated this and I can confirm that the gap is that we don't support migrating cross-repo branch policies from ADO. Only branch policies defined at the repository level are supported.
We will update our documentation to clarify this, and I've also recorded this gap as a feature request within GitHub.
If other people run into this issue and want these to be migrated, do feel free to comment here so we can learn about customer needs ❤️