nevstop-lab/Push Files to Repo

通过 Pull Request 将当前仓库的文件或文件夹推送到另一个仓库

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
source_folder当前仓库中源文件或文件夹的路径,相对于仓库根目录。 yes
destination_repo目标仓库,格式为 "owner/repo"。 yes
destination_folder目标仓库中文件存放的路径,相对于仓库根目录。 no.
destination_base_branch目标仓库中创建 PR 所基于的基础分支。 nomain
destination_head_branch在目标仓库中为 PR 创建的分支名称。 如果未指定,将自动生��唯一的分支名称。 no""
token具有目标仓库 `repo` 权限的个人访问令牌(PAT)或 GitHub App Token。 跨仓库操作必填。请将其保存为 Secret 并引用 (例如 ${{ secrets.PAT }})。 yes
commit_message目标仓库中文件变更的提交信息。 nochore: push files from source repository
pr_title在目标仓库中创建的 Pull Request 标题。 no[Automated] Push files from source repository
pr_bodyPull Request 的正文/描述。 noAutomated PR created by [Push-Files-to-Repo](https://github.com/NEVSTOP-LAB/Push-Files-to-Repo) action.
git_user_name提交的 Git user.name。默认为 github-actions[bot]。 nogithub-actions[bot]
git_user_email提交的 Git user.email。默认为 github-actions bot 邮箱。 no41898282+github-actions[bot]@users.noreply.github.com
cleanup如果设为 "true",在复制新文件前删除目标文件夹中的所有已有文件。 默认为 "false"(合并/覆盖)。 nofalse
draft如果设为 "true",创建草稿 Pull Request。 nofalse
namedescription
pr_number创建的 Pull Request 编号
pr_url创建的 Pull Request URL