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 fix google#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

@gmlewis gmlewis 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 thread github/event_types.go Outdated
Comment thread github/event_types.go Outdated
Comment thread github/event_types.go Outdated
@gmlewis
gmlewis requested a review from wesleimp December 15, 2021 15:05
@codecov

codecov Bot 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 Files Coverage Δ
github/event_types.go 100.00% <ø> (ø)
github/messages.go 100.00% <ø> (ø)
github/event.go 100.00% <100.00%> (ø)
github/github.go 97.62% <0.00%> (ø)
github/apps_hooks_deliveries.go 92.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
Contributor Author

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

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

@maniSbindra
maniSbindra requested a review from gmlewis December 17, 2021 13:11
@gmlewis gmlewis changed the title Enhancement to Add Support for Discussions Webhook Event (google#2221) Add Discussions webhook event (google#2221) Dec 17, 2021
@gmlewis gmlewis changed the title Add Discussions webhook event (google#2221) Add DiscussionEvent webhook (google#2221) Dec 17, 2021

@gmlewis gmlewis 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 thread github/messages_test.go Outdated
@maniSbindra
maniSbindra requested a review from gmlewis December 17, 2021 16:03

@gmlewis gmlewis 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.

@Parker77 Parker77 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

gmlewis commented Jan 3, 2022

Copy link
Copy Markdown
Collaborator

Thank you, @Parker77 !
Merging.

@gmlewis
gmlewis merged commit 6e66a89 into google:master Jan 3, 2022
jlaportebot added a commit to jlaportebot/go-github that referenced this pull request Jun 28, 2026
Sign up for free to 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