Description
Background
The dorny/paths-filter tool currently used in our CI/CD workflows does not support filtering by branch names, nor does it allow the use of our custom configuration structure defined in the controller-filters.yaml file.
As part of the task [PoC Ticket: #13106], a Proof of Concept for a new, custom tool was developed to address these limitations. PoC confirmed that this tool can be made.
This ticket covers the final, production-ready implementation of the tool based on the findings and code from the PoC.
Goals
The objective of this task is to finalize the implementation, test, and integrate the custom filtering tool to replace the current solution. The main goals are:
- Refactor Logic and add error handling: Verify and improve the correctness of the file filtering logic and implement better error handling (e.g., for cases of missing fields in controller-filters.yaml).
- Add Unit Tests.
- Create documentation explaining how to configure and use the new tool.
Each sub-issue should be made as a separate PR.
Timebox
1 sprint
References
PoC Ticket: #13106