Warning
This documentation is outdated. View the up-to-date version at https://changesets.dev/guide/automating#how-do-i-ensure-pull-requests-have-changesets
Using @changesets/cli, there is a status command. See the docs for it in the
@changesets/cli readme
We have a github bot and a bitbucket addon 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 changed packages but no new changesets. It will not fail if there are no changed packages.