﻿---
title: changelog github-decision cli command
description: (CI, hidden) Record commit outcome into the decision metadata file. 
url: https://docs-v3-preview.elastic.dev/docs-builder/cli/changelog/github-decision
products:
  - Elastic Docs Builder
---

# changelog github-decision cli command
```bash
docs-builder changelog github-decision \
  --metadata <string> \
  --commit-outcome <enum> \
  [options]
```

(CI, hidden) Record commit outcome into the decision metadata file.

## Options

<definitions>
  <definition term="--metadata string required">
    Path to the decision metadata.json file
  </definition>
  <definition term="--commit-outcome enum required">
    Outcome of the changelog commit step
    **Values:** none, committed, failed
  </definition>
  <definition term="--committed-file string">
    Repo-relative path to the committed file (when commitOutcome is Committed)
  </definition>
  <definition term="-l --log-level enum">
    Minimum log level.
    **Values:** trace, debug, information, warning, error, critical, none
    **Default:** `information`
  </definition>
  <definition term="-c --config-source enum">
    Override the configuration source: local, remote
    **Values:** local, remote, embedded
  </definition>
  <definition term="--skip-private-repositories">
    Skip cloning private repositories
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="-l --log-level enum">
    Minimum log level.
    **Values:** trace, debug, information, warning, error, critical, none
    **Default:** `information`
  </definition>
  <definition term="-c --config-source enum">
    Override the configuration source: local, remote
    **Values:** local, remote, embedded
  </definition>
  <definition term="--skip-private-repositories">
    Skip cloning private repositories
  </definition>
</definitions>