HandleWorkflowJob handles a workflow job meant for a particular entity. When a webhook is fired for a repo, org or enterprise, we determine the destination of that webhook, retrieve the pool manager for it and call this function with the WorkflowJob as a parameter.
(job params.WorkflowJob)
| 54 | // a repo, org or enterprise, we determine the destination of that webhook, retrieve the pool manager |
| 55 | // for it and call this function with the WorkflowJob as a parameter. |
| 56 | HandleWorkflowJob(job params.WorkflowJob) error |
| 57 | |
| 58 | // InstallWebhook will create a webhook in github for the entity associated with this pool manager. |
| 59 | InstallWebhook(ctx context.Context, param params.InstallWebhookParams) (params.HookInfo, error) |
no outgoing calls