mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-23 05:58:53 +08:00
9a8af92577
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`. |
||
---|---|---|
.. | ||
github_test.go | ||
github.go | ||
log.go | ||
task_state_test.go | ||
task_state.go | ||
workflows_test.go | ||
workflows.go |