0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-29 17:59:16 -05:00
forgejo/routers/api/v1/repo
Kemal Zebari 23676bfea7
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">

(cherry picked from commit 242b331260925e604150346e61329097d5731e77)
2024-03-30 07:17:32 +01:00
..
action.go
avatar.go
blob.go
branch.go
collaborators.go
commits.go
file.go Remove repetitive words (#30091) 2024-03-30 07:17:30 +01:00
flags.go
fork.go
git_hook.go
git_ref.go
hook.go
hook_test.go
issue.go Performance improvements for pull request list page (#29900) 2024-03-26 19:04:26 +01:00
issue_attachment.go
issue_comment.go remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
issue_comment_attachment.go
issue_dependency.go
issue_label.go
issue_pin.go Performance improvements for pull request list page (#29900) 2024-03-26 19:04:26 +01:00
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go
key.go
label.go
language.go
main_test.go
migrate.go
milestone.go remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
mirror.go
notes.go
patch.go
pull.go Refactor StringsToInt64s (#29967) 2024-03-26 19:04:26 +01:00
pull_review.go Prevent re-review and dismiss review actions on closed and merged PRs (#30065) 2024-03-30 07:17:32 +01:00
release.go Fix 500 when pushing release to an empty repo (#29554) 2024-03-06 12:10:47 +08:00
release_attachment.go Add support for API blob upload of release attachments (#29507) 2024-03-06 12:10:46 +08:00
release_tags.go
repo.go Fix schedule tasks bugs (#28691) 2024-03-25 16:25:02 +01:00
repo_test.go
runners.go
star.go
status.go Cache repository default branch commit status to reduce query on commit status table (#29444) 2024-03-11 23:36:58 +07:00
subscriber.go
tag.go
teams.go
topic.go
transfer.go
tree.go
wiki.go Fix an actions schedule bug (#28942) 2024-03-25 16:27:32 +01:00