stairwaytowonderland/Repository Create

Creates a GitHub organization repository with overrideable pre-defined settings and branch rulesets.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-tokenGitHub token with repo and admin:org scopes. Use a Personal Access Token or a GitHub App installation token. Note: the default GITHUB_TOKEN does not have admin:org scope and cannot create organization repositories — supply a token with the required scopes. ${{ github.token }}
orgTarget GitHub organization.yes
nameRepository name to create.yes
repo-configPath to a JSON settings/rulesets override file, relative to the workspace root (GITHUB_WORKSPACE). Omit to use built-in defaults. no""
template-ownerOwner of the template repository. Requires template-repo to also be set. Takes precedence over any template configured in repo-config. no""
template-repoName of the template repository. Requires template-owner to also be set. The template repository must have "Template repository" enabled in its settings. no""
visibilityRepository visibility. One of: private, internal, public. 'internal' requires GitHub Enterprise Cloud (GHEC). Overrides the value in repo-config if set. nopublic
include-all-branchesWhen creating from a template, copy all branches instead of only the default branch. nofalse
job-summaryWrite a job summary to the GitHub Actions step summary.notrue
create-from-template-retry-delayTime in milliseconds to wait before retrying repository creation if a template is being used and the API returns a 422 error indicating the template is still being processed. Default: 3000 (3 seconds). no3000
create-from-template-max-retriesMaximum number of retries if a template is being used and the API returns a 422 error indicating the template is still being processed. Default: 10. no10
replace-git-protocol-linksOptional flag to also replace Git protocol links (e.g. git://) in the README. no""
create-labelsOptional flag to create a default set of issue labels in the new repository. no""
create-issuesOptional flag to create a default issue in the new repository. no""
namedescription
repo-idNumeric ID of the created repository.
repo-urlHTML URL of the created repository (e.g. https://github.com/org/repo).
repo-full-nameFull name of the created repository (e.g. org/repo).
repo-nameName of the created repository (e.g. repo).
repo-owner-idNumeric ID of the repository owner (e.g. organization or user ID).
repo-owner-nameName of the repository owner (e.g. organization or user name).
repo-owner-urlURL of the repository owner (e.g. https://github.com/org).