Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1
Replace text content and submit content
License
NotificationsYou must be signed in to change notification settings
jaywcjlove/github-action-modify-file-content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new oneFolders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Replace text content and submit content
Here is the example: update time 2022-11-29 07:18:44
Here is the different delimiter example: differentGAMFC_TABEL
&GAMFC_TABEL-END
(test)
token
YourGITHUB_TOKEN
. This is required. Why do we needtoken
? Read more here:About the GITHUB_TOKEN secret. Default:${{ github.token }}
body
what needs to be replacedpath
file to be replacedbranch
The person that committed the file. Default: the authenticated userref
The name of the commit/branch/tag. Default: the repository’s default branch (usuallymaster
)overwrite
Overwrite the entire file content, by defaultfalse
sync_local_file
Sync local file content, by defaulttrue
message
The commit message. by defaultdoc: update <file path>.
committer_name
The name of the author or committer of the commit. by defaultgithub-actions[bot]
committer_email
The email of the author or committer of the commit. by defaultgithub-actions[bot]@users.noreply.github.com
openDelimiter
Character to use for opening delimiter, by default "<!--GAMFC-->"closeDelimiter
Character to use for closing delimiter, by default "<!--GAMFC-END-->"
content
text file content
-name:Modify README.mduses:jaywcjlove/github-action-modify-file-content@mainwith:path:README.md
README.md
file content
update time<!--GAMFC-->2022-11-29 07:18:44<!--GAMFC-END-->
Replace the content between<!--GAMFC-->2022-11-29 07:18:44<!--GAMFC-END-->
.
-name:Modify README.mduses:jaywcjlove/github-action-modify-file-content@mainwith:path:README.mdbody:"{{date:YYYY-MM-DD HH:mm:ss}}"
-name:Modify README.mduses:jaywcjlove/github-action-modify-file-content@mainwith:path:README.mdbody:"overwrite file content {{date:YYYY-MM-DD HH:mm:ss}}",overwrite:'true'
- Github Release Changelog Generator A GitHub Action that compares the commit differences between two branches
- Create Tags From Auto create tags from commit or package.json.
- Github Action Contributors Github action generates dynamic image URL for contributor list to display it!
- Generated Badges Create a badge using GitHub Actions and GitHub Workflow CPU time (no 3rd parties servers)
- Create Coverage Badges Create coverage badges from coverage reports. (no 3rd parties servers)
- Github Action package Read and modify the contents of
package.json
. - Github Action EJS A github action to render a ejs template using github context.
Licensed under the MIT License.
About
Replace text content and submit content
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.