jaywcjlove/Modify File Content
Replace text content and submit content
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Your GITHUB_TOKEN | no | ${{ github.token }} |
| body | what needs to be replaced | yes | "" |
| trim_whitespace | Optional. Whether leading/trailing whitespace will be trimmed for the body input. Defaults to true | no | true |
| path | File to be replaced | no | "" |
| ref | The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`) | no | "" |
| branch | The person that committed the file. Default: the authenticated user. | no | ${{ github.ref_name }} |
| message | The commit message. | no | "" |
| committer_name | The name of the author or committer of the commit. | no | github-actions[bot] |
| committer_email | The email of the author or committer of the commit. | no | github-actions[bot]@users.noreply.github.com |
| openDelimiter | Character to use for opening delimiter, by default `<!--GAMFC-->` | no | <!--GAMFC--> |
| closeDelimiter | Character to use for closing delimiter, by default `<!--GAMFC-END-->` | no | <!--GAMFC-END--> |
| overwrite | overwrite file | no | false |
| sync_local_file | Sync local file content | no | true |
Outputs
| name | description |
|---|---|
| content | text file content |