library
turbot/github
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
repository_ownerstringYes-
repository_namestringYes-
branch_namestringYes-
credstringYesName for credentials to use. If not provided, the default credentials will be used.default

Outputs

NameDescription
check_create_branch
check_get_branch
check_delete_branch