Commit Graph

3 Commits

Author SHA1 Message Date
Lunny Xiao 331e878e81
Add new event commit status creation and webhook implementation ()
This PR introduces a new event which is similar as Github's. When a new
commit status submitted, the event will be trigged. That means, now we
can receive all feedback from CI/CD system in webhooks or other notify
systems.

ref:
https://docs.github.com/en/webhooks/webhook-events-and-payloads#status

Fix 
2024-11-07 06:41:49 +00:00
Nanguan Lin cda97a7253
Update status and code index after changing the default branch ()
Fix  
Add `ChangeDefaultBranch` to the `notifier` interface and implement it
in `indexerNotifier`. So when changing the default branch,
`indexerNotifier` sends a message to the `indexer queue` to update the
index.

---------

Co-authored-by: techknowlogick <matti@mdranta.net>
2023-09-13 04:43:31 +00:00
Lunny Xiao 540bf9fa6d
Move notification interface to services layer ()
Extract from 
2023-09-05 18:37:47 +00:00