software-templates
software-templates copied to clipboard
push a directory to an existing repository
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.
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