`code_scanning_alert` missing in `eventTypeMapping`
Hi team,
I am using github.com/google/go-github/v45 v45.1.0 and I am getting the error =unknown X-Github-Event in message: code_scanning_alert when running ParseWebHook.
The alert type was already added in https://github.com/google/go-github/pull/2311 so I think it is just a matter of adding the mapping to the parsing of the webhook.
Cheers,
emil
Ah, yes, thank you, @emilva ! Would you like to submit a PR to rectify this, or shall I open it up to the rest of the contributors to this repo?
Yes, I will try to open PR shortly!
Yes, I will try to open PR shortly!
Thank you, @emilva ! It's yours. :smile:
PR: https://github.com/google/go-github/pull/2392