0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 13:04:16 +01:00
gitea/routers/api/v1/repo
Norwin 1f45b3a629
API: don't allow merged PRs to be reopened (#17192)
* api: dont open merged PRs

* don't change base branch when already merged

* don't allow any state change

* also validate opening merged PRs in EditIssue

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
2021-10-02 23:11:17 -04:00
..
blob.go
branch.go
collaborators.go
commits.go
file.go
fork.go
git_hook.go
git_ref.go
hook_test.go
hook.go
issue_comment.go
issue_label.go
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go
issue.go
key.go
label.go
language.go
main_test.go
migrate.go
milestone.go
mirror.go
notes.go
pull_review.go
pull.go
release_attachment.go
release_tags.go
release.go
repo_test.go
repo.go
star.go
status.go
subscriber.go
tag.go
teams.go
topic.go
transfer.go
tree.go