forgejo/models/issues
sillyguodong e962ade99c
Refresh the refernce of the closed PR when reopening (#24231)
Close #24213 
Replace #23830

#### Cause

- Before, in order to making PR can get latest commit after reopening,
the `ref`(${REPO_PATH}/refs/pull/${PR_INDEX}/head) of evrey closed PR
will be updated when pushing commits to the `head branch` of the closed
PR.

#### Changes

- For closed PR , won't perform these behavior: insert`comment`, push
`notification` (UI and email), exectue
[pushToBaseRepo](7422503341/services/pull/pull.go (L409))
function and trigger `action` any more when pushing to the `head branch`
of the closed PR.
- Refresh the reference of the PR when reopening the closed PR (**even
if the head branch has been deleted before**). Make the reference of PR
consistent with the `head branch`.
2023-05-08 14:39:32 +08:00
..
assignees.go
assignees_test.go
comment.go
comment_code.go
comment_list.go Load reviewer for comments when dismissing a review (#24281) 2023-04-23 11:04:23 -04:00
comment_test.go
content_history.go
content_history_test.go
dependency.go
dependency_test.go
issue.go Improve milestone filter on issues page (#22423) 2023-04-30 09:12:49 -04:00
issue_index.go
issue_list.go
issue_list_test.go
issue_lock.go
issue_project.go
issue_test.go
issue_user.go
issue_user_test.go
issue_watch.go
issue_watch_test.go
issue_xref.go
issue_xref_test.go
label.go
label_test.go
main_test.go Merge setting.InitXXX into one function with options (#24389) 2023-05-04 11:55:35 +08:00
milestone.go
milestone_test.go
pull.go Refresh the refernce of the closed PR when reopening (#24231) 2023-05-08 14:39:32 +08:00
pull_list.go Refresh the refernce of the closed PR when reopening (#24231) 2023-05-08 14:39:32 +08:00
pull_test.go Refresh the refernce of the closed PR when reopening (#24231) 2023-05-08 14:39:32 +08:00
reaction.go
reaction_test.go
review.go
review_test.go
stopwatch.go
stopwatch_test.go
tracked_time.go
tracked_time_test.go Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00