summaryrefslogtreecommitdiff
path: root/plugins/warp/src/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/warp/src/plugin')
-rw-r--r--plugins/warp/src/plugin/workflow.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/warp/src/plugin/workflow.rs b/plugins/warp/src/plugin/workflow.rs
index 56823de4..6a30606e 100644
--- a/plugins/warp/src/plugin/workflow.rs
+++ b/plugins/warp/src/plugin/workflow.rs
@@ -40,6 +40,9 @@ const MATCHER_ACTIVITY_CONFIG: &str = r#"{
"eligibility": {
"auto": {},
"runOnce": true
+ },
+ "dependencies": {
+ "downstream": ["core.module.update"]
}
}"#;
@@ -288,10 +291,10 @@ pub fn insert_workflow() {
let matcher_activity = Activity::new_with_action(MATCHER_ACTIVITY_CONFIG, matcher_activity);
// Matcher activity must have core.module.update as subactivity otherwise analysis will sometimes never retrigger.
module_meta_workflow
- .register_activity_with_subactivities(&matcher_activity, vec!["core.module.update"])
+ .register_activity(&matcher_activity)
.unwrap();
module_meta_workflow.insert(
- "core.module.deleteUnusedAutoFunctions",
+ "core.module.finishUpdate",
[MATCHER_ACTIVITY_NAME],
);
module_meta_workflow.register().unwrap();