New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add code scanning alerts #2227
Add code scanning alerts #2227
Conversation
ADD dismisser as NamedUser
# Conflicts: # github/Repository.py
Codecov ReportBase: 98.77% // Head: 98.82% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2227 +/- ##
==========================================
+ Coverage 98.77% 98.82% +0.05%
==========================================
Files 110 114 +4
Lines 11320 11510 +190
==========================================
+ Hits 11181 11375 +194
+ Misses 139 135 -4
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Follow documentation style
Github provides an option to obtain code scanning alerts of the code in a repository as part of the API, see https://docs.github.com/en/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository.
This part of the API was not yet supported by PyGithub.
Added a method to the Repository class to obtain the codescan alerts.
Added classes to hold to the information returned.