mirror of
1
Fork 0
forgejo/routers/web
Giteabot 27a40aeb6b
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>
(cherry picked from commit 9159964ada)
2023-07-24 07:58:56 +02:00
..
admin Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
auth Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
devtest Make "cancel" buttons have proper type in modal forms (#25618) (#25641) 2023-07-03 17:09:38 +08:00
events Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
explore Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
feed Pass 'not' to commit count (#24473) 2023-05-08 07:10:53 +00:00
healthcheck Refactor `setting.Database.UseXXX` to methods (#23354) 2023-03-07 18:51:06 +08:00
misc [API] Forgejo API /api/forgejo/v1 2023-07-16 23:44:22 +02:00
org [MODERATION] add user blocking API 2023-07-17 00:26:42 +02:00
repo Avoid opening/closing PRs which are already merged (#25883) (#25903) 2023-07-24 07:58:56 +02:00
shared Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
user [MODERATION] add user blocking API 2023-07-17 00:26:42 +02:00
auth.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
base.go Fix all possible setting error related storages and added some tests (#23911) (#25244) 2023-06-14 08:36:52 +02:00
goget.go Support SSH for go get (#24664) 2023-05-12 09:44:37 +00:00
home.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
metrics.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
nodeinfo.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
swagger_json.go Group template helper functions, remove `Printf`, improve template error messages (#23982) 2023-04-08 21:15:22 +08:00
web.go Merge remote-tracking branch 'forgejo/v1.20/forgejo-moderation' into v1.20/forgejo 2023-07-17 08:01:23 +02:00
webfinger.go Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00