software-templates icon indicating copy to clipboard operation
software-templates copied to clipboard

push a directory to an existing repository

Open Huda-Almutairi opened this issue 3 years ago • 1 comments

I'm trying to build a component that will create a repository and push a new directory to an existing repository using one template. From my researching, I understand that I have to create Steps:

  • fetch skeleton1 to create a repository.
  • fetch skeleton2 to push it into an exiting repository called test inside a directory called projects.
  • publish the repository in group called team1.
  • publish the second skeleton in group called team2.

Huda-Almutairi avatar Dec 19 '22 06:12 Huda-Almutairi

you could create a PR to the existing repo with publish:github:pull-request action, https://backstage.io/docs/reference/plugin-scaffolder-backend-module-github.createpublishgithubpullrequestaction

scottux avatar Feb 24 '25 07:02 scottux