git-next/crates/cli/src/repo/MESSAGES.md
Paul Campbell c1981d862c
All checks were successful
Rust / build (push) Successful in 2m29s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
refactor: merge repo-actor crate into cli crate
2024-07-28 12:18:15 +01:00

968 B

stateDiagram-v2
SERVER --> CloneRepo :on start
SERVER --> UnRegisterWebhook :on shutdown

CloneRepo --> LoadConfigFromRepo :on repo config
CloneRepo --> RegisterWebhook :on server config

LoadConfigFromRepo --> ReceiveRepoConfig

ValidateRepo --> CheckCIStatus :on next ahead of main
ValidateRepo --> AdvanceNext :on dev ahead of next
ValidateRepo --> [*] :on dev == next == main
ValidateRepo --> USER :on non-retryable error
ValidateRepo --> ValidateRepo :on retryable error

CheckCIStatus --> ReceiveCIStatus

ReceiveCIStatus --> AdvanceMain :on Pass
ReceiveCIStatus --> ValidateRepo :on Pending
ReceiveCIStatus --> USER :on Fail

AdvanceNext --> ValidateRepo

ReceiveRepoConfig --> RegisterWebhook

RegisterWebhook --> WebhookRegistered

WebhookRegistered --> ValidateRepo

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

FORGE --> WebhookNotification :on push

WebhookNotification --> ValidateRepo