enhance: allow auto-closing PRs from PRs (#39393)

On GitHub, one can close PRs via `Fixes: #123` references which was not
possible on Gitea before, but now is. Verified fully that behaviour
matches GH and ensured no regressions for external trackers.
This commit is contained in:
silverwind
2026-09-25 11:35:13 +00:00
committed by GitHub
parent 455f30a7b6
commit 6d59229331
5 changed files with 42 additions and 8 deletions
+2
View File
@@ -85,6 +85,7 @@ type IssueReference struct {
Index int64
Owner string
Name string
IsPull bool
Action XRefAction
TimeLog string
}
@@ -123,6 +124,7 @@ func rawToIssueReferenceList(reflist []*rawReference) []IssueReference {
Index: r.index,
Owner: r.owner,
Name: r.name,
IsPull: r.isPull,
Action: r.action,
TimeLog: r.timeLog,
}