[llvm] d125d55 - github-automation.py: Set maintainer_can_modify=True for backport PRs (#84819)

via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 16:04:47 PDT 2024


Author: Tom Stellard
Date: 2024-03-11T16:04:44-07:00
New Revision: d125d5576ec85eb2517ced0fe4b68da7b8209d0c

URL: https://github.com/llvm/llvm-project/commit/d125d5576ec85eb2517ced0fe4b68da7b8209d0c
DIFF: https://github.com/llvm/llvm-project/commit/d125d5576ec85eb2517ced0fe4b68da7b8209d0c.diff

LOG: github-automation.py: Set maintainer_can_modify=True for backport PRs (#84819)

This makes it possible to rebase the branch using the Web UI, which
makes it easier to manually merge the PRs. Manual merge is required when
squash merge won't preserve author information of the backport.

Added: 
    

Modified: 
    llvm/utils/git/github-automation.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/git/github-automation.py b/llvm/utils/git/github-automation.py
index b2e6843eb9af17..b21f14eca4450a 100755
--- a/llvm/utils/git/github-automation.py
+++ b/llvm/utils/git/github-automation.py
@@ -586,7 +586,7 @@ def create_pull_request(
                 body=body,
                 base=release_branch_for_issue,
                 head=head,
-                maintainer_can_modify=False,
+                maintainer_can_modify=True,
             )
 
             pull.as_issue().edit(milestone=self.issue.milestone)


        


More information about the llvm-commits mailing list