diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2023-03-09 21:20:55 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2023-03-09 21:20:55 +0100 |
commit | 4a299877d9e21f7d5d3ed860a4e8ba0bee74c226 (patch) | |
tree | e44543c948fd37c1ad1dd77e77aff2e27af044a3 /README.md | |
parent | cf1425a33a857d386bb3dec8fb6b57fe2bc3ef92 (diff) | |
download | automato-4a299877d9e21f7d5d3ed860a4e8ba0bee74c226.tar.gz |
add repeat and cooldown options to action
repeat: Specifies wether the condition needs to cycle through false to
run agian
cooldown: time in seconds the action won't run again after executing
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -40,6 +40,10 @@ but still inherit the globally set ones. An *If-This-Then-That* style set of *triggers* and *commands*. If all *triggers* are in a triggered state, the commands are executed. +If `repeat` is `False`, the evaluation must cycle through `False` to run again. +`cooldown` specifies the time in seconds the action will wait after running again, +even if conditions are met. +Both `repeat` and `cooldown` are optional and their defaults are `True` and `0`. ## Configuration @@ -75,6 +79,8 @@ conditional: `actions.yml` ```yaml send-hello: + repeat: False + cooldown: 30 trigger: - conditional: interval: 30 |