From a2b30819094a7c1411fe38eb9aaac9cd270ed986 Mon Sep 17 00:00:00 2001 From: Paul Blacknell Date: Fri, 4 Oct 2024 00:10:49 +0100 Subject: [PATCH 1/2] update: actions.rst typo --- automations/actions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automations/actions.rst b/automations/actions.rst index 57f635f163..5ef9b550ee 100644 --- a/automations/actions.rst +++ b/automations/actions.rst @@ -191,7 +191,7 @@ time period. ``if`` Action ************* -This action first evaluated a certain condition (``if:``) and then either +This action first evaluates a certain condition (``if:``) and then either executes the ``then:`` branch or the ``else:`` branch depending on the output of the condition. After the chosen branch (``then`` or ``else``) is done with execution, the next action is performed. From a212d4a1be7effcbd59a58565f0946c3687af15a Mon Sep 17 00:00:00 2001 From: Samuel Sieb Date: Thu, 10 Oct 2024 02:02:48 -0700 Subject: [PATCH 2/2] Apply suggestions from code review --- automations/actions.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automations/actions.rst b/automations/actions.rst index 5ef9b550ee..57ec7e996e 100644 --- a/automations/actions.rst +++ b/automations/actions.rst @@ -191,8 +191,8 @@ time period. ``if`` Action ************* -This action first evaluates a certain condition (``if:``) and then either -executes the ``then:`` branch or the ``else:`` branch depending on the output of the condition. +This action first evaluates the ``condition:`` and then either +executes the ``then:`` branch if the condition returns true or the ``else:`` branch if the condition returns false. After the chosen branch (``then`` or ``else``) is done with execution, the next action is performed.