Search and rename files and content via actions

Hi all :grinning:

I’m just starting my work with GitHub and I think it’s really great. Working with “actions/workflows” I’m wondering if it’s possible to search and rename files and content of a repository using the actions feature.

Here is an example structure:

  • Core
    ** base.php => In line 3 stands “product name”.
  • Variants (folder)
    ** Product name (folder)
    *** productname.php (rename file name and in line 3 is again “productname”)
  • Output (Here the renamed files should arrive)

How is it possible via actions to search for the “product name” and replace it with a variable like “Dark”? The changes must then be saved in the Output folder.

I am happy to receive feedback :slight_smile: