GitHub Action
String Replacer
A GitHub Action for finding and replacing strings in your project files
Required The regular expression you want to be replaced
Required The new string to be replaced
Optional A glob of files to include in our find and replace. Default is **
Optional A glob of files to exclude in our find and replace. Default is .git/**
The number of files which have been modified
name: My Workflow
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Find and Replace
uses: thiagodnf/[email protected]
with:
find: "hello"
replace: "world"
include: |
test/**/*.md
exclude: |
.git/**
node_modules/**
Feel free to access the discussions tab as you need
Contributions to this project are very welcome! We can't do this alone! Feel free to fork this project, work on it and then make a pull request.
Licensed under the MIT license.
I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).
However, if you get some profit from this or just want to encourage me to continue creating stuff, reach out to me if you want to do it.
Thanks!
❤️