library
turbot/github
Get Involved
Version
Pipeline: 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_owner=<string>' \ --arg 'repository_name=<string>' \ --arg 'visibility=<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_owner = <string> repository_name = <string> visibility = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.github | Yes | Name of Github connection to use. If not provided, the default Github connection will be used. | connection.github.default |
repository_owner | string | Yes | The organization or user name. | - |
repository_name | string | Yes | The name of the repository. | - |
visibility | string | Yes | The visibility of the repository. Allowed values are PRIVATE, PUBLIC, or INTERNAL. Defaults to PRIVATE. | - |
Outputs
Name | Description |
---|---|
repository | Repository details. |