Skip to content

Implement a Tool for Filtering PR Changes by File Paths and Branch Names #13180

Open
0 of 4 issues completed
@szumejker

Description

@szumejker

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

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Epicarea/toolsIssues or PRs related to overall changes in toolskind/featureCategorizes issue or PR as related to a new feature.team-goal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions