mirror of
1
Fork 0
forgejo/services/actions
Jason Song 0487e39f82
Treat PRs with agit flow as fork PRs when triggering actions. (#23884) (#23967)
Backport #23884.

There is no fork concept in agit flow, anyone with read permission can
push `refs/for/<target-branch>/<topic-branch>` to the repo. So we should
treat it as a fork pull request because it may be from an untrusted
user.
2023-04-07 17:43:12 -04:00
..
clear_tasks.go Avoid panic caused by broken payload when creating commit status (#23216) (#23294) 2023-03-04 14:23:49 +00:00
commit_status.go Create commit status when event is `pull_request_sync` (#23683) (#23691) 2023-03-24 17:40:24 -04:00
init.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
job_emitter.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
job_emitter_test.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
notifier.go Fix incorrect `HookEventType` of pull request review comments (#23650) (#23678) 2023-03-24 20:56:15 -04:00
notifier_helper.go Treat PRs with agit flow as fork PRs when triggering actions. (#23884) (#23967) 2023-04-07 17:43:12 -04:00