-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Repository Vulnerability Alert Add Missing Fields #1898
Conversation
…nerabilityAlert struct
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
@googlebot I signed it! |
e7124dc
to
96eb506
Compare
96eb506
to
4eb2a2a
Compare
Relates to Issue #1897 |
Codecov Report
@@ Coverage Diff @@
## master #1898 +/- ##
=======================================
Coverage 97.65% 97.65%
=======================================
Files 105 105
Lines 6786 6786
=======================================
Hits 6627 6627
Misses 86 86
Partials 73 73
Continue to review full report at Codecov.
|
Capitalization of GitHub rather than Github Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
Also sorry for the force push, made a mistake in my pushed commit message, wanted to fix it for clarity which required a rebase and a force push. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @OhZedTee !
LGTM.
Awaiting second LGTM before merging.
Friendly ping @wesleimp |
yes, please keep us posted as this is blocking us from completing our work using this library. Let us know if you have any questions @wesleimp |
@OhZedTee - as a contributor to this repo, please feel free to provide code reviews and LGTM/Approve as you have time to contribute. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Amazing, thanks folks! I hope this gets pulled into a release soon so that we can delete all the wrapping code that we wrote. |
Thanks, @OhZedTee ! This should now be available in Release v37.0.0: https://github.com/google/go-github/releases/tag/v37.0.0 |
Amazing, thank you for all the help! |
Struct for repository_vulnerability_alert webhook event is missing fields that are mentioned in docs.
These fields need to be added to the struct, and tested.
The fields are:
alert.severity
alert.created_at
alert.ghsa_id
repository.watchers
repository.open_issues
The new structs should like as such (I used to show what should be added):
event_types.go
repos.go
I don't mind performing the code change if you could assign this issue to me.