tuftsrt/copy-to-branch

automatically copy content between repository branches

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
source-branchBranch to copy content from. Defaults to the triggering branch. no${{ github.ref_name }}
destination-branchBranch to copy content to. yes
clear-destinationWhether to delete all files from the destination branch before copying. Must be set to "true" for deletion to occur. Other values ignored. nofalse
remove-itemsNewline-delimited list of glob patters to delete from the destination branch before building. Ignored if destination branch set to be cleared. no""
copyNewline-delimited list of `source|destination` arguments passed to `rsync` and executed using archive mode. Source and destination paths are relative to the repository root and will default to the repository root if not provided or left empty. Commands executed in order provided. no""
replaceNewline-delimited list of `find|replace|glob` arguments used to perform string replacement in the copied files. Commands are executed using `sed` in order provided and applied only to files matching the glob pattern. Omitting the glob pattern will apply the replacement to all files. no""
commit-messageMessage to use when committing changes to the destination branch. Defaults to the SHA of the triggering commit. no${{ github.sha }}
use-botWhether to use the github-actions[bot] account to commit and push changes. Must be set to "true" for the bot to be used. Other values ignored. (Author of the last commit on the source branch used by default.) nofalse

no outputs