Skip to content

Add DiscussionEvent webhook (google#2221) - #2230

Merged
gmlewis merged 3 commits into
google:masterfrom
maniSbindra:manisbindra/add-discussions-webhook-event
Jan 3, 2022
Merged

Add DiscussionEvent webhook (google#2221)#2230
gmlewis merged 3 commits into
google:masterfrom
maniSbindra:manisbindra/add-discussions-webhook-event

Conversation

@maniSbindra

Copy link
Copy Markdown
Contributor

This commit has changes to enable support to receive Discussions Webhook Events, to fix#2221.
Changes include:

  • Addition of event type for this type of event (DiscussionEvent)
  • Changes for identification and mapping of DiscussionEvent
  • Addition / Modification of relevant tests
  • Addition of files created by go generate

This commit has changes to enable support to receive Discussions Webhook Events, to fixgoogle#2221.
Changes include:
- Addition of event type for this type of event
- Changes for identification and mapping of DiscussionEvent
- Addition / Modification of relevent tests
- Addition of files created by go generate

@gmlewisgmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @maniSbindra !
Just a few minor tweaks, please.

Comment threadgithub/event_types.go Outdated
Comment threadgithub/event_types.go Outdated
Comment threadgithub/event_types.go Outdated
@codecov

codecovBot commented Dec 15, 2021

Copy link
Copy Markdown

Codecov Report

Merging #2230 (106b810) into master (fef3638) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@ Coverage Diff @@## master #2230 +/- ##
==========================================
- Coverage 97.81% 97.79% -0.03% 
==========================================
Files 112 113 +1 Lines 10117 10158 +41 ==========================================
+ Hits 9896 9934 +38 - Misses 154 156 +2 - Partials 67 68 +1 
Impacted FilesCoverage Δ
github/event_types.go100.00% <ø> (ø)
github/messages.go100.00% <ø> (ø)
github/event.go100.00% <100.00%> (ø)
github/github.go97.62% <0.00%> (ø)
github/apps_hooks_deliveries.go92.30% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fef3638...106b810. Read the comment docs.

@maniSbindra

Copy link
Copy Markdown
ContributorAuthor

Thank you, @maniSbindra ! Just a few minor tweaks, please.

Thanks @gmlewis , I have incorporated the changes, request you to please review.

@gmlewisgmlewis changed the title Enhancement to Add Support for Discussions Webhook Event (google#2221)Add Discussions webhook event (google#2221)Dec 17, 2021
@gmlewisgmlewis changed the title Add Discussions webhook event (google#2221)Add DiscussionEvent webhook (google#2221)Dec 17, 2021

@gmlewisgmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @maniSbindra !
Just one minor tweak, please, then we should be ready for a second LGTM before merging.

Note that any other contributor to this repo is welcome to provide the second approval and LGTM. Thank you!

Comment threadgithub/messages_test.go Outdated

@gmlewisgmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @maniSbindra !
LGTM.

Awaiting second LGTM from any other contributor to this repo.

@Parker77Parker77 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@gmlewis

Copy link
Copy Markdown
Collaborator

Thank you, @Parker77 !
Merging.

@gmlewis
gmlewis merged commit 6e66a89 into google:masterJan 3, 2022
jlaportebot added a commit to jlaportebot/go-github that referenced this pull request Jun 28, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Discussions webhook event

3 participants

@maniSbindra@gmlewis@Parker77