From 3f9cd81258e50aa68e58ddf3488d7224ffc7a7ad Mon Sep 17 00:00:00 2001 From: Lukas Bindreiter Date: Fri, 18 Jul 2025 09:53:53 +0200 Subject: [PATCH] Add disabled flag for pausing/unpausing an automation --- apis/workflows/v1/automation.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apis/workflows/v1/automation.proto b/apis/workflows/v1/automation.proto index 1ac559d..08b20a4 100644 --- a/apis/workflows/v1/automation.proto +++ b/apis/workflows/v1/automation.proto @@ -40,6 +40,10 @@ message AutomationPrototype { repeated StorageEventTrigger storage_event_triggers = 4; // The storage event triggers that will trigger the task repeated CronTrigger cron_triggers = 5; // The cron triggers that will trigger the task + + bool disabled = 6; // Whether the automation is disabled (paused) or not. + // the field is named disabled rather than enabled (with the semantics flipped) to make sure not setting the field at + // all results in the automation being enabled by default. } // Automations is a list of automations