hanseltimeindustries/template-repo-sync-action

Action for taking the files in a template repo and synchronizing them to the repo via a PR

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 4, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: hanseltimeindustries/template-repo-sync-action@8124dd25e335aea2671e7d274d353742c9c1ad91 # v2.1.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
repoPathThe owner/repo path of the repo on githubyes
githubTokenThe github token with access to write pull requests on this repoyes
remoteRepoTokenA separate github token with permissions to clone from the other repo. Only needed for private reposno
repoRootThe root in this github repo that we are syncing. This is mainly for things like monorepos.no
templateBranchThe branch on the template that we want to sync toyes
branchPrefixA short branch prefix for the branch that will be created in order to store the changesno
commitMsgThe commit message to supply when making the merge commitsno
titleMsgThe title of the pull requestno
prToBranchThis is the branch to open the pull request to. If not set, this uses the repo's default branch.no
updateAfterRefWhether we want to override the templatesync.local.json file with the template repo's last sha from the syncnotrue
mockLocalConfigFor testing, this is a templatesync.config.json that overrides the file that might be on the branchno
namedescription
prNumberThe number of the created PR