Sleuth's Custom Automation Framework Deep-Dive: Filters
The article discusses filters in Sleuth Automation framework, which are used with sets of Work in Progress Items or pull requests. Filters follow a pattern of variable -> operator -> value and are applied to each item in a set. They differ from conditions as the latter is applied to individual deploys/pull requests/WIP items or the whole set of WIP items/pull requests. Sleuth Automation filters share variables and operators with conditions, such as coding_time, deploying_time, pr_is_draft, and pr_is_ignored. The article provides an example of using filters in a Custom Sleuth Automation that notifies when the deploying time for a merged pull request exceeds a limit.
Company
Sleuth
Date published
April 9, 2024
Author(s)
Carl Bergenhem
Word count
717
Language
English
Hacker News points
None found.