Skip to content

Instantly share code, notes, and snippets.

@adikari
Created December 5, 2020 06:38
Show Gist options
  • Save adikari/9dd8cee93f9956c98a5ae6d078d2d241 to your computer and use it in GitHub Desktop.
Save adikari/9dd8cee93f9956c98a5ae6d078d2d241 to your computer and use it in GitHub Desktop.
Pull request pipeline configuration
{
"name": "$PIPELINE_NAME",
"description": "Pipeline for $PIPELINE_NAME pull requests",
"repository": "$REPOSITORY",
"default_branch": "",
"steps": [
{
"type": "script",
"name": ":buildkite: $PIPELINE_TYPE",
"command": "buildkite-agent pipeline upload $SERVICE/.buildkite/$PIPELINE_TYPE.yml"
}
],
"cancel_running_branch_builds": true,
"skip_queued_branch_builds": true,
"branch_configuration": "!master",
"provider_settings": {
"trigger_mode": "code",
"publish_commit_status_per_step": true,
"publish_blocked_as_pending": true,
"pull_request_branch_filter_enabled": true,
"pull_request_branch_filter_configuration": "!master",
"separate_pull_request_statuses": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment