This repository has been archived by the owner on Apr 24, 2024. It is now read-only.
Reduce CI #5
Annotations
6 warnings
publish
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
publish:
src/Program.cs#L81
Random is an insecure random number generator. Use cryptographically secure random number generators when randomness is required for security.
|
publish:
src/GithubClient.cs#L165
Dispose creates an exception of type NotImplementedException. Exceptions should not be raised in this type of method. If this exception instance might be raised, change this method's logic so it no longer raises an exception.
|
publish:
src/GithubClient.cs#L163
Modify 'GithubClient.Dispose' so that it calls Dispose(true), then calls GC.SuppressFinalize on the current object instance ('this' or 'Me' in Visual Basic), and then returns
|
publish:
src/GithubClient.cs#L163
Change GithubClient.Dispose() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it.
|
publish:
src/GithubClient.cs#L12
'GithubClient' contains field '_httpClient' that is of IDisposable type 'HttpClient', but it is never disposed. Change the Dispose method on 'GithubClient' to call Close or Dispose on this field.
|