forgejo/services/pull
Caesar Schinas dfd3ac01d7
Revert "Prevent allow/reject reviews on merged/closed PRs"
This reverts commit 4ed372af13.
This change from Gitea was not considered by the Forgejo UI team and there is a consensus that it feels like a regression.

The test which was added in that commit is kept and modified to test that reviews can successfully be submitted on closed and merged PRs.

Closes 

(cherry picked from commit 65c2595f26)
2024-08-15 10:47:38 +01:00
..
check.go fix(hook): repo admins are wrongly denied the right to force merge 2024-06-02 21:16:46 +02:00
check_test.go enable linter testifylint on v8 () 2024-07-30 19:41:27 +00:00
comment.go Add codespell support and fix a good number of typos with its help () 2024-05-09 13:49:37 +00:00
commit_status.go Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} () 2024-03-26 19:04:27 +01:00
commit_status_test.go Fixing the issue when status check per rule matches multiple actions () 2024-03-11 23:36:59 +07:00
edits.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
lfs.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods () 2023-12-07 15:27:36 +08:00
main_test.go make writing main test easier () 2023-09-28 01:38:53 +00:00
merge.go fix: use url.JoinPath to join url parts 2024-07-31 14:02:26 +00:00
merge_ff_only.go Add merge style fast-forward-only () 2024-02-14 17:19:19 +01:00
merge_merge.go Add merge style fast-forward-only () 2024-02-14 17:19:19 +01:00
merge_prepare.go Refactor merge/update git command calls () 2023-03-09 09:48:52 -06:00
merge_rebase.go Simplify how git repositories are opened () 2024-01-27 21:09:51 +01:00
merge_squash.go Simplify how git repositories are opened () 2024-01-27 21:09:51 +01:00
merge_test.go Support template for merge message description () 2022-12-29 14:40:20 +02:00
patch.go Simplify how git repositories are opened () 2024-01-27 21:09:51 +01:00
patch_unmerged.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
pull.go fix(agit): run full pr checks on force-push 2024-08-13 18:26:41 +00:00
pull_test.go fix: use url.JoinPath to join url parts 2024-07-31 14:02:26 +00:00
review.go Revert "Prevent allow/reject reviews on merged/closed PRs" 2024-08-15 10:47:38 +01:00
review_test.go enable linter testifylint on v8 () 2024-07-30 19:41:27 +00:00
temp_repo.go Adjust object format interface () 2023-12-17 11:56:08 +00:00
update.go Move database operations of merging a pull request to post receive hook and add a transaction () 2024-05-12 20:03:10 +02:00
update_rebase.go Resolve lint for unused parameter and unnecessary type arguments () 2024-05-05 08:38:16 +01:00