29 lines
573 B
Markdown
29 lines
573 B
Markdown
```mermaid
|
|
stateDiagram-v2
|
|
[*] --> CloneRepo :START
|
|
|
|
CloneRepo --> LoadConfigFromRepo
|
|
CloneRepo --> ValidateRepo
|
|
|
|
LoadConfigFromRepo --> LoadedConfig
|
|
|
|
ValidateRepo --> StartMonitoring
|
|
ValidateRepo --> ValidateRepo :SLEEP 10s
|
|
|
|
LoadedConfig --> ValidateRepo
|
|
LoadedConfig --> RegisterWebhook
|
|
|
|
RegisterWebhook --> WebhookRegistered
|
|
|
|
WebhookRegistered --> [*]
|
|
|
|
StartMonitoring --> AdvanceMainTo
|
|
StartMonitoring --> ValidateRepo :SLEEP 10s
|
|
|
|
AdvanceMainTo --> LoadConfigFromRepo
|
|
AdvanceMainTo --> ValidateRepo
|
|
|
|
[*] --> WebhookMessage :WEBHOOK
|
|
|
|
WebhookMessage --> ValidateRepo
|
|
```
|