jcantosz/Create repo
Creates repo either empty or from a template. Can authorize with a PAT or a GitHub App.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| pat | The PAT used to authenticate. | no | — |
| app_id | The GitHub App ID used to authenticate. | no | — |
| app_private_key | The GitHub App private key used to authenticate. | no | — |
| app_installation_id | The GitHub App installation id used to authenticate. | no | — |
| api_url | GitHub API url. Change this if using GitHub Enterprise Server. | no | https://api.github.com |
| org | The organization to create this repo in. | yes | — |
| repo | The name of the repo to create. | yes | — |
| description | The description added to he created repo | no | Repo created with action jcantosz/create-repo-action. |
| visibility | The visibility of the created repo. Can be: 'private', 'internal', or 'public'. | no | private |
| repo_template_org | The org of the template repo, if creating from template. | no | — |
| repo_template_repo | The name of the template repo, if creating from template. | no | — |
| include_all_branches | Whether to include all branches or not, if creating from template | no | true |
| clone_push | Simulates 'create from a template' by running git clone/push instead of using the API. Will retain all commit history. Will not show linkage in UI. | no | false |
| github_url | URL of github instance to clone from and push to. Set this if using GHES | no | https://github.com |
Outputs
no outputs