Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

code_scanning_alert missing in eventTypeMapping #2391

Closed
emilva opened this issue Jun 21, 2022 · 4 comments · Fixed by #2392
Closed

code_scanning_alert missing in eventTypeMapping #2391

emilva opened this issue Jun 21, 2022 · 4 comments · Fixed by #2392
Assignees

Comments

@emilva
Copy link

emilva commented Jun 21, 2022

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 #2311 so I think it is just a matter of adding the mapping to the parsing of the webhook.

Cheers,

emil

@gmlewis
Copy link
Collaborator

gmlewis commented Jun 21, 2022

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?

@emilva
Copy link
Author

emilva commented Jun 21, 2022

Yes, I will try to open PR shortly!

@gmlewis
Copy link
Collaborator

gmlewis commented Jun 21, 2022

Yes, I will try to open PR shortly!

Thank you, @emilva ! It's yours. 😄

@emilva
Copy link
Author

emilva commented Jun 21, 2022

PR: #2392

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants