git-next/crates/repo-actor/README.md
Paul Campbell ffab1986a7
Some checks failed
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
Rust / build (push) Has been cancelled
ci/woodpecker/push/tag-created Pipeline was successful
refactor: repo-actor: rewrite tests using mockall
2024-06-27 18:58:47 +01:00

35 lines
759 B
Markdown

```mermaid
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
```