askasp/Run sed to replace in side a file in another repository
Usefull to update docker container tags in a gitops setup for automatically triggering deploy
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Mar 28, 2022
- License
- None
Pinned Snippet
uses: askasp/github-action-sed-in-other-repo@5f806e4e7ecdb33d10c7df06c03c344376b6d6a7 # sammatags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| target-file | The file to run the sed command on | yes | — |
| sed-regex-match | the regex match to find and replace | yes | — |
| sed-new-value | The string to fill in | yes | — |
| destination-github-username | Name of the destination username/organization | yes | — |
| destination-repository-name | Destination repository | yes | — |
| user-email | Email for the git commit | yes | — |
| github-server | Github server | no | github.com |
| user-name | [Optional] Name for the git commit. Defaults to the destination username/organization name | no | "" |
| destination-repository-username | [Optional] Username/organization for the destination repository | no | "" |
| target-branch | [Optional] set target branch name for the destination repository. Defaults to "main" | no | main |
| commit-message | [Optional] commit message for the output repository. ORIGIN_COMMIT is replaced by the URL@commit in the origin repo | no | Update from ORIGIN_COMMIT |
| target-directory | [Optional] The directory to wipe and replace in the target repository | no | "" |
Outputs
no outputs