Checking for changesets
Using @changesets/cli
, there is a status
command. See the docs for it in the
@changesets/cli readme (opens in a new tab)
We have a github bot (opens in a new tab) and a bitbucket addon (opens in a new tab) that alert users of missing changesets.
If you want to cause a failure in CI on missing changesets (not recommended), you can run changeset status --since=main
,
which will exit with a status code of 1 if there are no new changesets.