1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-01 14:56:30 +00:00
gitea/routers
Giteabot 9159964ada
Avoid opening/closing PRs which are already merged () ()
Backport  by @yp05327

We can select PRs to open/close them by one click, but we forgot to
check whether it is merged.
You can get an opening merged PR:

![image](https://github.com/go-gitea/gitea/assets/18380374/22c2e747-4bb9-4742-a9aa-ef39d5308bc5)

You can confirm this in:
https://try.gitea.io/yp05327/testrepo/pulls/5

Co-authored-by: yp05327 <576951401@qq.com>
2023-07-17 12:14:22 +00:00
..
api Add support for different Maven POM encoding () () 2023-07-14 10:27:15 +00:00
common Fix admin config page error, use tests to cover the admin config and 500 error page () 2023-05-29 15:00:21 +00:00
install Show correct SSL Mode on "install page" () () 2023-07-12 02:01:38 -04:00
private Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
utils Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
web Avoid opening/closing PRs which are already merged () () 2023-07-17 12:14:22 +00:00
init.go Refactor path & config system () () 2023-06-22 16:27:18 +00:00