aidnas/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 Feb 22, 2023
- License
- MIT
Pinned Snippet
uses: aidnas/github-action-sed-in-other-repo@0ea4a6df0debce80a92ca6ef9e54c34a6216d84b # v1tags 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 | "" |
| 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