git-next/crates/repo-actor/README.md

759 B

stateDiagram-v2
[*] --> CloneRepo :Start

CloneRepo --> LoadConfigFromRepo
CloneRepo --> ValidateRepo

LoadConfigFromRepo --> ReceiveRepoConfig

ValidateRepo --> CheckCIStatus
ValidateRepo --> AdvanceNext
ValidateRepo --> ValidateRepo :invalid

CheckCIStatus --> ReceiveCIStatus

ReceiveCIStatus --> AdvanceMain :Pass
ReceiveCIStatus --> ValidateRepo :Pending
ReceiveCIStatus --> [*] :Fail

AdvanceNext --> ValidateRepo

ReceiveRepoConfig --> ValidateRepo
ReceiveRepoConfig --> RegisterWebhook

RegisterWebhook --> WebhookRegistered

WebhookRegistered --> [*]

AdvanceMain --> LoadConfigFromRepo :on repo config - reload
AdvanceMain --> ValidateRepo :on server config

[*] --> WebhookNotification :WEBHOOK

WebhookNotification --> ValidateRepo