github: Fix release automation /branch command with new repo
authorTom Stellard <tstellar@redhat.com>
Tue, 26 Jul 2022 22:05:03 +0000 (15:05 -0700)
committerTom Stellard <tstellar@redhat.com>
Tue, 26 Jul 2022 22:05:05 +0000 (15:05 -0700)
commit17d4796cc84618e9b15f9484e5576127c431bc60
tree1825808ec543664a2c89a2577d0819cfebe8bf8c
parentb3270888cb2f61e9441c59cc81dbeea2bee07584
github: Fix release automation /branch command with new repo

We started using the llvm/llvm-project-release-prs repo for
backport pull requests, but since this repo is not a fork of
llvm/llvm-project it will reject pull requests from other repos. In
order to fix this, when ever someone uses the /branch command to request
a branch be merged into the release branch, we first copy the branch to
the llvm-project-release-prs repo and then create the pull request.

Reviewed By: thieta

Differential Revision: https://reviews.llvm.org/D126940
llvm/utils/git/github-automation.py