library
turbot/github
Get Involved
Version
Pipeline: Test Branch Operations
Test the create_branch, get_branch, and delete_branch pipelines.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run github.pipeline.test_branch_operations \ --arg 'repository_owner=<string>' \ --arg 'repository_name=<string>' \ --arg 'branch_name=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = github.pipeline.test_branch_operations args = { repository_owner = <string> repository_name = <string> branch_name = <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 | - | |
repository_name | string | Yes | - | |
branch_name | string | Yes | - |
Outputs
Name | Description |
---|---|
check_create_branch | |
check_get_branch | |
check_delete_branch |
Tags
folder = Tests