Lunny Xiao 368e9e0f1b Add transaction when creating pull request created dirty data (#26259) (#26437)
Backport #26259 

This PR will introduce a transaction on creating pull request so that if
some step failed, it will rollback totally. And there will be no dirty
pull request exist.

Co-authored-by: Giteabot <teabot@gitea.io>
2023-08-11 05:27:23 +00:00
..
2023-05-21 22:35:11 +00:00
2023-05-21 22:35:11 +00:00