3 Star 0 Fork 0

mirrors_jaywcjlove/github-action-modify-file-content

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
action.yml 1.70 KB
一键复制 编辑 原始数据 按行查看 历史
小弟调调 提交于 2024-05-12 13:49 . chore: bump node16 to node20
name: 'Modify File Content'
author: 'Kenny Wong'
description: 'Replace text content and submit content'
inputs:
token:
description: 'Your GITHUB_TOKEN'
default: ${{ github.token }}
required: false
body:
description: 'what needs to be replaced'
default: ''
required: true
path:
description: 'File to be replaced'
default: ''
required: false
ref:
description: 'The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)'
default: ''
required: false
branch:
description: 'The person that committed the file. Default: the authenticated user.'
default: ${{ github.ref_name }}
required: false
message:
description: 'The commit message.'
default: ''
required: false
committer_name:
description: 'The name of the author or committer of the commit.'
default: 'github-actions[bot]'
required: false
committer_email:
description: 'The email of the author or committer of the commit.'
default: 'github-actions[bot]@users.noreply.github.com'
required: false
openDelimiter:
description: 'Character to use for opening delimiter, by default `<!--GAMFC-->`'
default: '<!--GAMFC-->'
required: false
closeDelimiter:
description: 'Character to use for closing delimiter, by default `<!--GAMFC-END-->`'
default: '<!--GAMFC-END-->'
required: false
overwrite:
description: 'overwrite file'
default: 'false'
required: false
sync_local_file:
description: 'Sync local file content'
default: 'true'
required: false
outputs:
content:
description: 'text file content'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'list'
color: 'blue'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_jaywcjlove/github-action-modify-file-content.git
git@gitee.com:mirrors_jaywcjlove/github-action-modify-file-content.git
mirrors_jaywcjlove
github-action-modify-file-content
github-action-modify-file-content
main

搜索帮助