Create A GitHub Repository from a Template repository
See original GitHub issueFeature Suggestion
At the Moment we are able to create a repository using the Backstage actions, Would like to request a feature where users can come and create a repository from a template repository.
at the moment the publish:github is like this:
- id: publish
name: Publish
action: publish:github
input:
repoUrl: ${{ parameters.repoUrl}}
description: 'this is a template repo'
Possible Implementation
- id: publish
name: Publish
action: publish:github
input:
repoUrl: ${{ parameters.repoUrl}}
description: 'this is a template repo'
templateRepository: <path to template repository>
Context
-Trying to create a repository from a template repository -Easy for further implementation for development and usage
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:26 (20 by maintainers)
Top Results From Across the Web
Creating a template repository - GitHub Docs
On GitHub.com, navigate to the main page of the repository. · Under your repository name, click Settings. Repository settings button · Select Template...
Read more >How to use Github repository templates - Gary Woodfine
The process is really simple and you can create a new template repository or mark any existing repository as a template with admin...
Read more >GitHub introduces 'Template repository' for easy boilerplate ...
Just navigate to the Settings page and then click on the 'Template repository' checkbox. Once the template repository is created anyone who has ......
Read more >How to Use GitHub Repository Templates - Blog - GitProtect.io
Creating a template repository · Navigate to the repository's home page on GitHub.com. · Select Settings from navigation under your repository ...
Read more >How to Create And Use GitHub Repository Templates
Setup and use GitHub Repository Templates · Create a Repository · Change Folder · Add Files to Folder · Add Files to a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@benjdlambert I’m happy to contribute and enhance the
github:repo:create
with extra variablecreateFromTemplateRepo
and said functionality. Good Idea @aswathysen, Even we started to see the necessity of following feature in our organization. Happy to collaborate with @aswathysen & @rijuvfrancisApologies for the lack of replies here on my behalf. I’ve been working on my new home and did not have a lot of time to use my pc.
Within Philips we also created a template that allows you to create a repository based on a template, however, due to lack of time (needed a refactor as the base template in BackStage got refactored) and no longer requiring this feature internally, I did not create a PR.
I just tested the version I created internally and it seems like things are still working well. I will submit my feedback in the PR and share some thoughts with code suggestions where possible.