▲ | ZYbCRq22HbJ2y7 8 hours ago | |||||||||||||
You could make a builder to do this for you. It could build your actions in a pre-commit hook or whatever. Although, I think it is generally an accepted practice to use declarative configuration over imperative configuration? In part, maybe what the article is getting at, maybe? | ||||||||||||||
▲ | baq 6 hours ago | parent [-] | |||||||||||||
YAML is neither declarative nor imperative. It's just a tree (or graph, with references) serialization to text. | ||||||||||||||
|