1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-24 08:57:03 -05:00
forgejo/services/actions
sillyguodong 023e61e678
Create commit status when event is pull_request_sync (#23683)
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)
2023-03-24 16:05:48 -04:00
..
clear_tasks.go Avoid panic caused by broken payload when creating commit status (#23216) 2023-03-04 02:12:37 -05:00
commit_status.go Create commit status when event is pull_request_sync (#23683) 2023-03-24 16:05:48 -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) 2023-03-24 13:13:04 +08:00
notifier_helper.go Avoid panic caused by broken payload when creating commit status (#23216) 2023-03-04 02:12:37 -05:00