How To: Disable status updates to GitHub
This article describes how to stop status update to GitHub from a pipeline.
NOTE
Disabling status updates to GitHub is currently supported only via CLI for Codefresh pipelines.
Before you begin
- Install the CLI](https://codefresh-io.github.io/cli/installation/){:target=”_blank”}
- Authenticate the CLI to your Codefresh account
How to
- Export the full pipeline spec as a YAML file:
codefresh get pipeline <project_name/pipeline_name> -o yaml > pipeline_name_spec.yaml
to -
Below
spec
, addoptions
and then addenableNotifications: false
, as in the example below.version: '1.0' kind: pipeline metadata: spec: options: enableNotifications: false
- Save the changes and close the YAML.
- Run the
codefresh replace pipeline -f pipeline_name_spec.yaml
to update your pipeline with the specifications from the YAML file.