Skip to content

Conversation

@jinfwhuang
Copy link
Contributor

When we are using a PR, we should be able to update the PR title and body. This is especially helpful when we want to include the commit information as part of the PR.

}

// Update the first matching PR
existingPR := prs[0]

Choose a reason for hiding this comment

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

The logic in updateExistingPR always updates the first PR returned (prs[0]). If multiple open PRs match the criteria, this may result in updating the wrong PR. Consider iterating through all matching PRs or adding additional checks to ensure the correct PR is updated.

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.

1 participant