The single responsibility principle keeps automation components focused: an action should do one thing well, while a workflow should have a clearly defined goal and reason to run. section 4.6 section 8.4.6
Apply the principle through focused automation boundaries:
- Keep shared actions small and avoid Swiss-army-knife interfaces with many inputs and unrelated capabilities. section 4.6
- Create workflow files around specific purposes so source or dependency changes affect only the relevant automation. section 8.4.6
- Use separate jobs when work must run on different machines; jobs may distribute identical work without defining separate responsibilities. section 8.4.6
- Support focused actions with tests, semantic versioning, documentation, clear metadata, and concrete usage examples. section 4.6
Focused workflow organization
Separate automation by goal, use development-cycle events and a branching strategy to trigger the appropriate workflow, and reserve multiple jobs for machine distribution or other justified needs. This reduces maintenance cognitive load and narrows review responsibility, especially where production changes require separation of duties. section 8.4.6






