Skip to content
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

Support deployment protection rule event type #2773

Merged
merged 5 commits into from May 14, 2023

Conversation

BoyangHuang
Copy link
Contributor

@BoyangHuang BoyangHuang commented Apr 27, 2023

This commit adds the deployment_protection_rule event type to the list of parseable event types

Fixes: #2774.

This commit adds the deployment_protection_rule event type to the list of parseable event types
@google-cla
Copy link

google-cla bot commented Apr 27, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@codecov
Copy link

codecov bot commented Apr 27, 2023

Codecov Report

Merging #2773 (cd5c10f) into master (a938017) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #2773   +/-   ##
=======================================
  Coverage   98.05%   98.05%           
=======================================
  Files         132      132           
  Lines       11638    11640    +2     
=======================================
+ Hits        11412    11414    +2     
  Misses        154      154           
  Partials       72       72           
Impacted Files Coverage Δ
github/event_types.go 100.00% <ø> (ø)
github/messages.go 100.00% <ø> (ø)
github/event.go 100.00% <100.00%> (ø)

Copy link
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

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

Thank you, @BoyangHuang !
After a few tweaks, we should be ready for a second LGTM+Approval from any other contributor to this repo before merging.

github/event.go Outdated Show resolved Hide resolved
github/event_types.go Outdated Show resolved Hide resolved
github/event_types.go Outdated Show resolved Hide resolved
github/event_types.go Outdated Show resolved Hide resolved
github/event_types.go Show resolved Hide resolved
github/messages.go Outdated Show resolved Hide resolved
@gmlewis gmlewis added the NeedsReview PR is awaiting a review before merging. label Apr 27, 2023
Thanks for catching all of my misses. Much appreciated :)

I'll run a follow-up `go generate` command after committing your suggestions.

Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
@BoyangHuang
Copy link
Contributor Author

BoyangHuang commented Apr 27, 2023

Thank you, @BoyangHuang ! After a few tweaks, we should be ready for a second LGTM+Approval from any other contributor to this repo before merging.

Thank you @gmlewis for catching my mistakes :) much appreciated

@gmlewis
Copy link
Collaborator

gmlewis commented Apr 27, 2023

Sorry, I forgot to mention that you will need to gofmt the files after you add my suggestions. Also make sure to run go generate ./... again then push the changes. Thank you!

Copy link
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

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

Thank you, @BoyangHuang !
LGTM.

Awaiting second LGTM+Approval from any other contributor to this repo before merging.

@gmlewis gmlewis changed the title Support deployment protection rule event types Support deployment protection rule event type Apr 27, 2023
@BoyangHuang
Copy link
Contributor Author

small bump here - is there any contributor available to give this a quick look? Thank you!

@gmlewis
Copy link
Collaborator

gmlewis commented May 8, 2023

Hi @valbeat - do you have time for a code review?

Copy link
Contributor

@valbeat valbeat left a comment

Choose a reason for hiding this comment

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

LGTM!

@gmlewis
Copy link
Collaborator

gmlewis commented May 14, 2023

Thank you, @valbeat !
Merging.

@gmlewis gmlewis removed the NeedsReview PR is awaiting a review before merging. label May 14, 2023
@gmlewis gmlewis merged commit 21df6e0 into google:master May 14, 2023
9 checks passed
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 Deployment Protection Rule event types
3 participants