forgejo/routers
Giteabot 9159964ada
Avoid opening/closing PRs which are already merged (#25883) (#25903)
Backport #25883 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 (#25873) (#25890) 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 (#24965) 2023-05-29 15:00:21 +00:00
install Show correct SSL Mode on "install page" (#25818) (#25838) 2023-07-12 02:01:38 -04:00
private Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Avoid opening/closing PRs which are already merged (#25883) (#25903) 2023-07-17 12:14:22 +00:00
init.go Refactor path & config system (#25330) (#25416) 2023-06-22 16:27:18 +00:00