techdevcenter/Replace contents
Replace contents in files using bun Glob and EcmaScript RegExp
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repo | Repository name | yes | — |
| branch | Branch name | yes | — |
| github-token | GitHub PAT to commit repository | yes | — |
| commit-username | Commit username | yes | GitHub Actions |
| commit-email | Commit e-mail | yes | actions@github.com |
| commit-message | Commit message (default will be: Replaced {{ inputs.match }} with {{ inputs.replace }} in {{ inputs.branch }}) | no | — |
| glob | Will be used in find command to find files to replace the given content | yes | — |
| match | Content to be replaced | yes | — |
| flags | Flags to be used in RegExp | yes | gmu |
| replace | Content to replace | yes | — |
Outputs
no outputs