Skip to content

Commit

Permalink
Merge pull request #599 from chromaui/jmhobbs/cap-2447-gh-action-does…
Browse files Browse the repository at this point in the history
…nt-fail-with-unreviewed-changes

Update `exitZeroOnChanges` default value
  • Loading branch information
winkerVSbecks authored Dec 3, 2024
2 parents e3532d2 + 584e60f commit cf6e4ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chromatic-config/options.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const formatOption = async (option: ConfigOptionType) => {
default:
option.default !== undefined
? `<code>${option.default}</code>`
: option.defaultComment,
: await markdown(option.defaultComment),
};
};
Expand Down

0 comments on commit cf6e4ac

Please sign in to comment.