1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-15 11:35:31 +00:00
forgejo/modules/actions
Zettat123 9a8af92577
Fix the bug when getting files changed for pull_request_target event ()
Follow 

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
..
github.go Support pull_request_target event () 2023-06-26 14:33:18 +08:00
github_test.go Support pull_request_target event () 2023-06-26 14:33:18 +08:00
log.go Support downloading raw task logs () 2023-06-29 10:58:56 +08:00
task_state.go Implement actions () 2023-01-31 09:45:19 +08:00
task_state_test.go Implement actions () 2023-01-31 09:45:19 +08:00
workflows.go Fix the bug when getting files changed for pull_request_target event () 2023-08-05 14:26:06 +08:00
workflows_test.go Fix the bug when getting files changed for pull_request_target event () 2023-08-05 14:26:06 +08:00