Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 02:36:10 +01:00
forgejo/routers
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
..
api [GITEA] do not enforce misc scope tokens for public API endpoints 2023-07-23 22:35:11 +02:00
common [BRANDING] Use forgejo binary name 2023-07-17 00:25:56 +02:00
install [BRANDING] Rebrand default config settings for new installs (#140) 2023-07-17 00:25:55 +02:00
private [CLI] implement forgejo-cli actions register (squash) no private 2023-07-16 23:21:45 +02: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-24 07:58:56 +02:00
init.go [API] Forgejo API /api/forgejo/v1 2023-07-16 23:44:22 +02:00