Loading

changelog prepare-artifact cli command

docs-builder changelog prepare-artifact \
  --staging-dir <string> \
  --output-dir <string> \
  --evaluate-status <string> \
  --generate-outcome <string> \
  --pr-number <int> \
  --head-ref <string> \
  --head-sha <string> \
  [options]
		

(CI) Package changelog artifact for cross-workflow transfer.

--staging-dir string required
Directory where changelog add wrote the generated YAML
--output-dir string required
Directory to write the artifact (metadata.json + YAML)
--evaluate-status string required
Status output from the evaluate-pr step
--generate-outcome string required
Outcome of the changelog add step (success/failure)
--pr-number int required
Pull request number
--head-ref string required
PR head branch ref
--head-sha string required
PR head commit SHA
--[no-]is-fork

Whether the PR is from a fork

Default: false

--[no-]can-commit

Whether the commit strategy allows committing

Default: false

--[no-]maintainer-can-modify

Whether the fork PR allows maintainer edits

Default: false

--head-repo string
Fork repository full name (owner/repo)
--label-table string
Optional: markdown label table from evaluate-pr
--product-label-table string
Optional: markdown product label table from evaluate-pr
--skip-labels string
Optional: comma-separated skip labels from evaluate-pr
--config string
Optional: path to changelog.yml
--existing-changelog-filename string
Optional: filename of a previously committed changelog for this PR
-l --log-level enum

Minimum log level.

Values: trace, debug, information, warning, error, critical, none

Default: information

-c --config-source enum

Override the configuration source: local, remote

Values: local, remote, embedded

--[no-]skip-private-repositories

Skip cloning private repositories