Skip to content

Commit

Permalink
fix(github): include draft PR status to when updating PR (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
KasonBraley authored May 23, 2024
1 parent 8334e34 commit bef2b44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/scm/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ func (g *Github) UpdatePullRequest(ctx context.Context, repo scm.Repository, pul
return g.ghClient.PullRequests.Edit(ctx, pr.ownerName, pr.repoName, pr.number, &github.PullRequest{
Title: &updatedPR.Title,
Body: &updatedPR.Body,
Draft: &updatedPR.Draft,
})
})
if err != nil {
Expand Down

0 comments on commit bef2b44

Please sign in to comment.