diff --git a/chromatic-config/options.json b/chromatic-config/options.json index 4c3a6b53..6f46983c 100644 --- a/chromatic-config/options.json +++ b/chromatic-config/options.json @@ -96,7 +96,7 @@ "description": "If all snapshots render, but there are visual changes, exit with code `0` rather than the usual exit code `1`. Only for given branch, if specified.", "type": ["glob", "boolean"], "example": "`\"!(main)\"` or `true`", - "default": false, + "defaultComment": "`true` in the GitHub Action, otherwise `false`", "supports": ["CLI", "GitHub Action", "Config File"] }, { diff --git a/src/components/ConfigurationOptions/ConfigurationOptions.astro b/src/components/ConfigurationOptions/ConfigurationOptions.astro index f676a161..1e71800b 100644 --- a/src/components/ConfigurationOptions/ConfigurationOptions.astro +++ b/src/components/ConfigurationOptions/ConfigurationOptions.astro @@ -14,7 +14,7 @@ export const formatOption = async (option: ConfigOptionType) => { default: option.default !== undefined ? `${option.default}` - : option.defaultComment, + : await markdown(option.defaultComment), }; };