Check out GH pull requests locally where the source/target branch had been deleted
What does this MR do?
Check out GitHub pull requests where source/target branches that had been deleted locally rather than temporarily restoring them on GitHub using their References API. This helps us to not get rate limited, and allow us to import cross-repository pull requests (those from forks).
What are the relevant issue numbers?
Fixes #15528 (closed)
Fixes #17766 (closed)
Fixes #19310 (closed)
Fixes #19439 (closed)
Fixes #19998 (closed)
Fixes #20153 (closed)
Fixes #20552 (closed)
Fixes https://gitlab.com/gitlab-com/support-forum/issues/801
#20385
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
CHANGELOG entry added -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the style guides -
Branch has no merge conflicts with master
(if you do - rebase it please) -
Squashed related commits together