Commits should only close/reopen issues if the issue has the correct branch #8260
Labels
issue/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
type/bug
Description
Currently a commit can close or reopen an issue it is referencing, either if
repo.CloseIssuesViaCommitInAnyBranch
is set or when the commit is being pushed to the default branch. However, ifIssue.Ref
is set, it should be used instead of the default branch.gitea/models/action.go
Lines 603 to 607 in 63ff616
The text was updated successfully, but these errors were encountered: