swarm: the notification router tells a PR's author when CI on it fails or is cancelled
This commit is contained in:
parent
d4e58f8741
commit
c8eaa93268
1 changed files with 490 additions and 60 deletions
|
|
@ -24,7 +24,7 @@ pub fn run(flows: &[Flow], events: &[(String, Vec<u8>)]) -> DryRun {
|
|||
let mut snapshots: BTreeMap<String, Snapshot> = BTreeMap::new();
|
||||
let mut run = 0;
|
||||
for (event_type, body) in events {
|
||||
let Some(delivery) = Delivery::parse(body) else {
|
||||
let Some(delivery) = Delivery::from_event(event_type, body) else {
|
||||
continue;
|
||||
};
|
||||
run += 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue