mirror of
1
Fork 0
forgejo/modules/actions
Zettat123 48e5a74f21
Support `pull_request_target` event (#25229)
Fix #25088

This PR adds the support for
[`pull_request_target`](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target)
workflow trigger. `pull_request_target` is similar to `pull_request`,
but the workflow triggered by the `pull_request_target` event runs in
the context of the base branch of the pull request rather than the head
branch. Since the workflow from the base is considered trusted, it can
access the secrets and doesn't need approvals to run.
2023-06-26 14:33:18 +08:00
..
github.go Support `pull_request_target` event (#25229) 2023-06-26 14:33:18 +08:00
github_test.go Support `pull_request_target` event (#25229) 2023-06-26 14:33:18 +08:00
log.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
task_state.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
task_state_test.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
workflows.go Support `pull_request_target` event (#25229) 2023-06-26 14:33:18 +08:00
workflows_test.go Support `pull_request_target` event (#25229) 2023-06-26 14:33:18 +08:00