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

Add 'pending_deployments' endpoint support (#2421) #2422

Merged
merged 5 commits into from Aug 13, 2022

Conversation

DavidGamba
Copy link
Contributor

No description provided.

@google-cla
Copy link

google-cla bot commented Jul 27, 2022

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.

@DavidGamba
Copy link
Contributor Author

CLA signed.

@codecov
Copy link

codecov bot commented Jul 27, 2022

Codecov Report

Merging #2422 (bfb419c) into master (3a432d6) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #2422   +/-   ##
=======================================
  Coverage   98.06%   98.07%           
=======================================
  Files         120      120           
  Lines       10558    10571   +13     
=======================================
+ Hits        10354    10367   +13     
  Misses        140      140           
  Partials       64       64           
Impacted Files Coverage Δ
github/actions_workflow_runs.go 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us.

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.

Just a few minor tweaks, please @DavidGamba.

type PendingDeploymentsRequest struct {
EnvironmentIDs []int64 `json:"environment_ids"`
State *string `json:"state"`
Comment *string `json:"comment"`
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since these two last fields are required, let's please change them to string (instead of *string).

github/actions_workflow_runs.go Outdated Show resolved Hide resolved
github/actions_workflow_runs.go Outdated Show resolved Hide resolved
DavidGamba and others added 3 commits July 27, 2022 14:55
Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
@DavidGamba
Copy link
Contributor Author

@gmlewis PTAL

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, @DavidGamba !
LGTM.

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

@gmlewis gmlewis added the NeedsReview PR is awaiting a review before merging. label Jul 28, 2022
Copy link
Contributor

@raynigon raynigon 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 Aug 13, 2022

Thank you, @raynigon !
Merging.

@gmlewis gmlewis merged commit 56a9096 into google:master Aug 13, 2022
@DavidGamba DavidGamba deleted the dgamba-pending_deployments branch August 15, 2022 05:54
@gmlewis gmlewis removed the NeedsReview PR is awaiting a review before merging. label Aug 19, 2022
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.

None yet

3 participants