1
1
mirror of https://github.com/go-gitea/gitea synced 2025-02-02 04:54:34 +00:00
gitea/services
Zettat123 9a8af92577
Fix the bug when getting files changed for pull_request_target event (#26320)
Follow #25229

Copy from
https://github.com/go-gitea/gitea/pull/26290#issuecomment-1663135186

The bug is that we cannot get changed files for the
`pull_request_target` event. This event runs in the context of the base
branch, so we won't get any changes if we call
`GetFilesChangedSinceCommit` with `PullRequest.Base.Ref`.
2023-08-05 14:26:06 +08:00
..
2023-07-07 05:31:56 +00:00
2023-07-07 05:31:56 +00:00
2023-08-03 09:37:48 +08:00