GitHub check configuration for private repositories github-check-config
Learn how to control the pipelines that are created automatically to validate each pull request to a private repository.
Configuration of GitHub checks configuration
When using private repositories, a full stack code quality pipeline is created automatically. This pipeline is started at each pull request update.
You can control these checks by creating a .cloudmanager/pr_pipelines.yml file in the default branch of the private repository.
github:
shouldDeletePreviousComment: false
pipelines:
- type: CI_CD
template:
programId: 1234
pipelineId: 456
namePrefix: Full Stack Code Quality Pipeline for PR
importantMetricsFailureBehavior: CONTINUE
Parameter
Possible Values
Default
Description
shouldDeletePreviousCommenttrue or falsefalseWhether to keep only the last comment with the code scanning results on this GitHub pull request or keep all.
typeCI_CDn/a
Defines the behavior of a CI/CD pipeline.
template.programIDInteger
No pipeline variables are reused
You can reuse the pipeline variables set on an existing pipeline, which each PR creates automatically.
template.pipelineIDInteger
No pipeline variables are reused
You can reuse the pipeline variables set on an existing pipeline, which each PR creates automatically.
namePrefixString
Full Stack Code Quality Pipeline for PRUsed to set the name of the pipeline that is created automatically.
importantMetricsFailureBehaviorCONTINUE or FAIL or PAUSECONTINUESets the important metric behavior of the pipeline
CONTINUE = If an important metric fails, the pipeline moves forward automaticallyFAIL = The pipeline finishes with a FAILED status if an important metric failsPAUSE = The code scanning step receives a WAITING status when an important metric fails and must be manually resumed.recommendation-more-help
c6cdc82b-cee9-48e0-a6ee-48149d5e72c3