forgejo/models/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
..
run.go Create commit status when event is pull_request_sync (#23683) 2023-03-24 16:05:48 -04:00
run_job.go
run_job_list.go
run_list.go Require approval to run actions for fork pull request (#22803) 2023-02-24 15:58:49 +08:00
runner.go Display the version of runner in the runner list (#23490) 2023-03-19 22:19:40 -04:00
runner_list.go
runner_token.go
status.go Require approval to run actions for fork pull request (#22803) 2023-02-24 15:58:49 +08:00
task.go Avoid too long names for actions (#23162) 2023-02-28 18:20:36 +08:00
task_list.go
task_step.go
utils.go
utils_test.go