HanseltimeIndustries / template-repo-sync

A project for synchronizing template repositories with configured control on both sides of the repo.
0 stars 0 forks source link

`templateBranch` unused when cloning the template #9

Closed oprypkhantc closed 2 months ago

oprypkhantc commented 4 months ago

Hey!

If you specify a templateBranch with any other branch than the default one, it'll not be used. This is because template-repo-sync-action only passes the repoUrl, while templateBranch is only ever used for console logs and resulting branch name: https://github.com/HanseltimeIndustries/template-repo-sync-action/blob/main/src/sync-github-repo.ts#L144

Thank you for the awesome project :)

hanseltime commented 2 months ago

@oprypkhantc - Sorry about missing this. I think I need to reconfigure my notifications.

Thank you for calling this out!

I will have a PR up soon to add this function and then wire it into the action

hanseltime commented 2 months ago

@oprypkhantc - updates have been applied to both this underlying library and the github action. Thank you for submitting a bug report!