You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/pull
Kemal Zebari 242b331260
Prevent re-review and dismiss review actions on closed and merged PRs (#30065)
Resolves #29965.

---
Manually tested this by:
- Following the
[installation](https://docs.gitea.com/next/installation/install-with-docker#basics)
guide (but built a local Docker image instead)
- Creating 2 users, one who is the `Owner` of a newly-created repository
and the other a `Collaborator`
- Had the `Collaborator` create a PR that the `Owner` reviews
- `Collaborator` resolves conversation and `Owner` merges PR

And with this change we see that we can no longer see re-request review
button for the `Owner`:

<img width="1351" alt="Screenshot 2024-03-25 at 12 39 18 AM"
src="https://github.com/go-gitea/gitea/assets/60799661/bcd9c579-3cf7-474f-a51e-b436fe1a39a4">
10 months ago
..
check.go Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 12 months ago
check_test.go Replace assert.Fail with assert.FailNow (#27578) 1 year ago
comment.go Simplify how git repositories are opened (#28937) 1 year ago
commit_status.go Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 11 months ago
commit_status_test.go Fixing the issue when status check per rule matches multiple actions (#29631) 11 months ago
edits.go Implement FSFE REUSE for golang files (#21840) 2 years ago
lfs.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
merge.go Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 12 months ago
merge_ff_only.go Add merge style `fast-forward-only` (#28954) 12 months ago
merge_merge.go Add merge style `fast-forward-only` (#28954) 12 months ago
merge_prepare.go Refactor merge/update git command calls (#23366) 2 years ago
merge_rebase.go Simplify how git repositories are opened (#28937) 1 year ago
merge_squash.go Simplify how git repositories are opened (#28937) 1 year ago
merge_test.go Support template for merge message description (#22248) 2 years ago
patch.go Simplify how git repositories are opened (#28937) 1 year ago
patch_unmerged.go Implement FSFE REUSE for golang files (#21840) 2 years ago
pull.go Put an edit file button on pull request files to allow a quick operation (#29697) 10 months ago
pull_test.go Simplify how git repositories are opened (#28937) 1 year ago
review.go Prevent re-review and dismiss review actions on closed and merged PRs (#30065) 10 months ago
review_test.go Prevent re-review and dismiss review actions on closed and merged PRs (#30065) 10 months ago
temp_repo.go Adjust object format interface (#28469) 1 year ago
update.go Sync branches into databases (#22743) 2 years ago
update_rebase.go Refactor and tidy-up the merge/update branch code (#22568) 2 years ago