Just remove the following package ref from the project file:
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />