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:
@@ -39,6 +39,10 @@ jobs:
|
||||
run: yarn generate:announcement --expire
|
||||
working-directory: docs-util/packages/scripts
|
||||
|
||||
- name: Generate Changeset
|
||||
run: "yarn generate:changeset"
|
||||
working-directory: docs-util/packages/scripts
|
||||
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user