* Don't create a PR if all changesets are empty
Fixes#205.
Note that this maintains the previous behavior that if there are any
changesets (even empty ones), the action does not publish packages.
* Create three-needles-protect.md
* Update .changeset/three-needles-protect.md
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
* fix: body max length
* docs: improve logs
* docs: changeset
* refactor: changeset message to omit some info if message exceeds size limit
* refactor: minor adjustments based on feedback
* Apply nits from code review
* Fixed tests
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
* feat: add cwd for projects that not in the root directory
* docs: add cwd to README
* reword the added log
* tweak changeset
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
* Switch to Changesets-based release process
* Bump version
* drop unused variable
* Update .github/workflows/version-or-publish.yml
Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com>
* Push also to a release line branch when releasing
* Change node version used in the version-or-publish workflow
* Switch to using the local action
Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com>
* build the action before trying to use it the workflow
* Add changeset and actually setup Changesets, lol
Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com>
* Resolve @changesets/cli with resolve-from
* Use require.resolve directly
* Add documentation section to README
* Add custom version command docs for Yarn 2