library
turbot/github
OverviewPipelines
0
Triggers
0
Variables
GitHub

Create Repository

Creates a new repository.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run github.pipeline.create_repository \
--arg 'repository_name=<string>' \
--arg 'repository_owner=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = github.pipeline.create_repository
args = {
repository_name = <string>
repository_owner = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
repository_namestringYesThe name of the repository.-
visibilitystringYesThe visibility of the repository. Allowed values are PRIVATE, PUBLIC, or INTERNAL. Defaults to PRIVATE.PRIVATE
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
repository_ownerstringYesThe organization or user name.-

Outputs

NameDescription
repositoryRepository details.