create-github-repository using automation
-
This is using a github workflow to create a repositiry in a organization
-
The credential used is
PERSONAL ACCESS TOKEN
for reference: https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#create-an-organization-repository
📌 [create-an-organization-repository] (https://docs.github.com/en/rest/repos/repos?piVersion=2022-11-28#create-an-organization-repository)
Using a bash script, bash script receives parameters from github workflow and creates a github repo.
Choose an open source license template that best suits your needs, and then use the license keyword as the license_template string. For example, "mit" or "mpl-2.0"
[license-keyword] (https://docs.github.com/articles/licensing-a-repository/#searching-github-by-license-type)
Desired language or platform .gitignore template to apply. Use the name of the template without the extension. For example, "Python".