32 lines
715 B
Markdown
32 lines
715 B
Markdown
```mermaid
|
|
stateDiagram-v2
|
|
[*] --> CloneRepo :START
|
|
|
|
CloneRepo --> LoadConfigFromRepo
|
|
CloneRepo --> ValidateRepo
|
|
|
|
LoadConfigFromRepo --> LoadedConfig
|
|
|
|
ValidateRepo --> NextAheadOfMainCheckStatus
|
|
ValidateRepo --> DevAheadOfNextAdvanceNext
|
|
ValidateRepo --> ValidateRepo :on invalid SLEEP 10s
|
|
|
|
NextAheadOfMainCheckStatus --> AdvanceMainTo
|
|
NextAheadOfMainCheckStatus --> ValidateRepo :SLEEP 10s
|
|
|
|
DevAheadOfNextAdvanceNext --> ValidateRepo :SLEEP 10s
|
|
|
|
LoadedConfig --> ValidateRepo
|
|
LoadedConfig --> RegisterWebhook
|
|
|
|
RegisterWebhook --> WebhookRegistered
|
|
|
|
WebhookRegistered --> [*]
|
|
|
|
AdvanceMainTo --> LoadConfigFromRepo
|
|
AdvanceMainTo --> ValidateRepo
|
|
|
|
[*] --> WebhookMessage :WEBHOOK
|
|
|
|
WebhookMessage --> ValidateRepo
|
|
```
|