mirror of
1
Fork 0
forgejo/models/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
..
artifact.go Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
run.go Support `pull_request_target` event (#25229) 2023-06-26 14:33:18 +08:00
run_job.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
run_job_list.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
run_list.go Add actor and status dropdowns to run list (#25118) 2023-06-21 04:25:14 +00:00
runner.go Support changing labels of Actions runner without re-registration (#24806) 2023-06-13 22:28:31 +08:00
runner_list.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
runner_token.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
status.go Require approval to run actions for fork pull request (#22803) 2023-02-24 15:58:49 +08:00
task.go Support changing labels of Actions runner without re-registration (#24806) 2023-06-13 22:28:31 +08:00
task_list.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
task_output.go Support upload `outputs` and use `needs` context on Actions (#24230) 2023-04-22 16:12:41 -04:00
task_step.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
utils.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
utils_test.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
variable.go Support configuration variables on Gitea Actions (#24724) 2023-06-20 22:54:15 +00:00