Skip to content

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

Merged
gmlewis merged 5 commits into
google:masterfrom
DavidGamba:dgamba-pending_deployments
Aug 13, 2022
Merged

Add 'pending_deployments' endpoint support (#2421)#2422
gmlewis merged 5 commits into
google:masterfrom
DavidGamba:dgamba-pending_deployments

Conversation

@DavidGamba

Copy link
Copy Markdown
Contributor

No description provided.

@google-cla

Copy link
Copy Markdown

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.

Comment threadgithub/actions_workflow_runs.go Outdated
@DavidGamba

Copy link
Copy Markdown
ContributorAuthor

CLA signed.

@codecov

codecovBot commented Jul 27, 2022

Copy link
Copy Markdown

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 FilesCoverage Δ
github/actions_workflow_runs.go100.00% <100.00%> (ø)

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

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

Just a few minor tweaks, please @DavidGamba.

Comment threadgithub/actions_workflow_runs.go Outdated
type PendingDeploymentsRequest struct {
EnvironmentIDs []int64 `json:"environment_ids"`
State *string `json:"state"`
Comment *string `json:"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.

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

Comment threadgithub/actions_workflow_runs.go Outdated
Comment threadgithub/actions_workflow_runs.go Outdated
DavidGambaand 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
Copy Markdown
ContributorAuthor

@gmlewis PTAL

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

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

@gmlewisgmlewis added the NeedsReview PR is awaiting a review before merging. label Jul 28, 2022

@raynigonraynigon left a comment

Copy link
Copy Markdown
Contributor

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, @raynigon !
Merging.

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

3 participants

@DavidGamba@gmlewis@raynigon