update: actions.rst typo (#4302)

* update: actions.rst typo

* Apply suggestions from code review

---------

Co-authored-by: Samuel Sieb <samuel-github@sieb.net>
This commit is contained in:
Paul Blacknell 2024-10-10 10:31:57 +01:00 committed by GitHub
parent e90609da2b
commit 08f9cb84be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -191,8 +191,8 @@ time period.
``if`` Action
*************
This action first evaluated 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.