https://github.com/devwithkrishna/create-github-repository
create-github-repository using automation
https://github.com/devwithkrishna/create-github-repository
bash-script github github-workflows
Last synced: 4 days ago
JSON representation
create-github-repository using automation
- Host: GitHub
- URL: https://github.com/devwithkrishna/create-github-repository
- Owner: devwithkrishna
- License: mit
- Created: 2023-12-20T16:47:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-15T19:03:29.000Z (over 1 year ago)
- Last Synced: 2025-07-19T08:01:38.462Z (7 months ago)
- Topics: bash-script, github, github-workflows
- Language: Shell
- Size: 35.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# create-github-repository
create-github-repository using automation
[](https://github.com/devwithkrishna/create-github-repository/actions/workflows/create_repository.yaml)
* 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 ```
:pushpin:
[create-an-organization-repository] (https://docs.github.com/en/rest/repos/repos?piVersion=2022-11-28#create-an-organization-repository)
## How code works?
Using a bash script, bash script receives parameters from github workflow and creates a github repo.
## Licensing templates
```
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)
## gitignore template
```
Desired language or platform .gitignore template to apply. Use the name of the template without the extension. For example, "Python".
```
[gitignore-template](https://github.com/github/gitignore)