Skip to content

Replace git ls-tree, grep and find files with go implementations

What does this MR do and why?

This update adds three new file system exploration commands to the workflow executor:

  1. A "list directory" command that shows files in a specified directory
  2. A "find files" command that searches for files matching a pattern
  3. A "grep" command that searches for text patterns within files

The implementation respects .gitignore rules, skipping files that should be ignored.

Each command is integrated into the action runner system with appropriate tests.

Related issues

https://gitlab.com/groups/gitlab-org/-/epics/17831

Edited by Joey Khabie

Merge request reports

Loading