Skip to content

A fast, helpful, and open-source document parser

feat: add dispatch from changeset release

Clelia (Astra) Bertellia486b2f59502
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 6b4c2fa..774deeb 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -42,3 +42,15 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+
+ - name: Dispatch post-publish workflow
+ if: steps.changesets.outputs.published == 'true'
+ uses: actions/github-script@v7
+ with:
+ script: |
+ await github.rest.actions.createWorkflowDispatch({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ workflow_id: 'homebrew_release.yml',
+ ref: 'main',
+ })