gitea/models/actions
Giteabot a9b4aa4cc4
Create commit status when event is `pull_request_sync` (#23683) (#23691)
Backport #23683 by @sillyguodong

Fix: #23674
If the type of `hook_event` is `pull_request_sync`, also need to insert
a record of `commit_status` into DB.
Because `pull_request` event and `pull_request_sync` event have the same
payload, so the code is reusable.

Screenshot:

![image](https://user-images.githubusercontent.com/33891828/227465436-1b436807-d0b2-4a2b-8890-09d96c7f666d.png)

Co-authored-by: sillyguodong <33891828+sillyguodong@users.noreply.github.com>
2023-03-24 17:40:24 -04:00
..
run.go Create commit status when event is `pull_request_sync` (#23683) (#23691) 2023-03-24 17:40:24 -04: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 Implement actions (#21937) 2023-01-31 09:45:19 +08:00
runner.go Implement actions (#21937) 2023-01-31 09:45:19 +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 Implement actions (#21937) 2023-01-31 09:45:19 +08:00
task.go Avoid too long names for actions (#23162) (#23190) 2023-02-28 13:42:40 +01:00
task_list.go Implement actions (#21937) 2023-01-31 09:45:19 +08: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