Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions llvm/utils/git/github-automation.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,10 @@ def create_pull_request(self, owner: str, repo_name: str, branch: str) -> bool:

pull.as_issue().edit(milestone=self.issue.milestone)

# Once the pull request has been created, we can close the
# issue that was used to request the cherry-pick
self.issue.edit(state="closed", state_reason="completed")

try:
self.pr_request_review(pull)
except Exception as e:
Expand Down