0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 21:06:08 +01:00
gitea/tests
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
..
e2e
fuzz
gitea-lfs-meta
gitea-repositories-meta Add commits dropdown in PR files view and allow commit by commit review (#25528) 2023-07-28 21:18:12 +02:00
integration Fix the bug when getting files changed for pull_request_target event (#26320) 2023-08-05 14:26:06 +08:00
mssql.ini.tmpl Update email-setup.en-us.md (#26068) 2023-07-26 21:50:15 +08:00
mysql8.ini.tmpl
mysql.ini.tmpl Update email-setup.en-us.md (#26068) 2023-07-26 21:50:15 +08:00
pgsql.ini.tmpl Update email-setup.en-us.md (#26068) 2023-07-26 21:50:15 +08:00
sqlite.ini.tmpl Update email-setup.en-us.md (#26068) 2023-07-26 21:50:15 +08:00
test_utils.go speed up TestEventSourceManagerRun (#26262) 2023-08-01 17:57:11 +00:00