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

fix(deps): update module github.com/google/go-github/v49 to v50 #3074

Merged
merged 1 commit into from Jan 31, 2023

Conversation

krrrr38
Copy link
Contributor

@krrrr38 krrrr38 commented Jan 31, 2023

@@ -330,7 +330,7 @@ func (g *GithubClient) PullIsApproved(repo models.Repo, pull models.PullRequest)
return models.ApprovalStatus{
IsApproved: true,
ApprovedBy: *review.User.Login,
Date: *review.SubmittedAt,
Date: review.SubmittedAt.Time,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

review.SubmittedAt is always existed, cause if review != nil && review.GetState() == "APPROVED" is already checked before.

Copy link
Member

@nitrocode nitrocode 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 @krrrr38 !

@nitrocode nitrocode marked this pull request as ready for review January 31, 2023 03:27
@nitrocode nitrocode requested a review from a team as a code owner January 31, 2023 03:27
@github-actions github-actions bot added dependencies PRs that update a dependency file go Pull requests that update Go code provider/github labels Jan 31, 2023
@nitrocode nitrocode added this to the v0.23.0 milestone Jan 31, 2023
@nitrocode nitrocode merged commit acc8ef6 into runatlantis:main Jan 31, 2023
ijames-gc pushed a commit to gocardless/atlantis that referenced this pull request Feb 13, 2024
ijames-gc pushed a commit to gocardless/atlantis that referenced this pull request Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies PRs that update a dependency file go Pull requests that update Go code provider/github
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants