chore(docs): add empty changeset step to actions (#6377)

- Creates a script that runs the `yarn changeset --empty` command if there are file changes. This is important to not create PRs of just empty changesets if there are no file changes.
- Run script in all docs-generation PRs
- Fix to condition in `generate-docblock` action
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-02-13 08:58:48 +00:00
1 parent 374a3f4dab
commit 5ddae7ecd1
8 files changed
+59 -1

No files matched your search

@@ -64,6 +64,10 @@ jobs:
run: "yarn generate:reference all"
working-directory: docs-util/packages/scripts
- name: Generate Changeset
run: "yarn generate:changeset"
working-directory: docs-util/packages/scripts
- name: Get PR Message
id: pr-message
run: yarn generate:message