CODEOWNERS file doesn't sync from GitLab Integration
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 624
Description
### Environment
SaaS ([https://sentry.io/]())
### Steps to Reproduce
1. Follow [the docs]() to set up the GitLab integration
2. Add a repository to your GitLab integration in Sentry and set up code and user mappings
3. Go to your chosen project's settings > Ownership Rules > Import CODEOWNERS
4. In the same page, make sure to set "Prioritize Auto Assignment" to "Auto-assign to issue owner" and toggle on "Sync changes from CODEOWNERS"
5. Throw an error from your app that creates a new issue in Sentry
### Expected Result
The new issue is assigned to the user indicated by the CODEOWNERS file.
### Actual Result
No user is auto assigned to [the issue](). Upon further investigation, it looks like the CODEOWNERS file [appears synced]() but clicking on "View" brings up an empty file.

Clicking on "View in GitLab redirects to the correctly populated file.

This problem doesn't seem to occur with GitHub CODEOWNERS.
### Product Area
Settings - Integrations
### Link
*No response*
### DSN
*No response*
### Version
*No response*
Contributor guide
Assessment
This issue has not been assessed yet.