diff --git a/.github/workflows/tagging.yml b/.github/workflows/tagging.yml index 0a28f08..0a87378 100644 --- a/.github/workflows/tagging.yml +++ b/.github/workflows/tagging.yml @@ -42,3 +42,16 @@ jobs: git config --global user.email "github-actions[bot]@users.noreply.github.com" git tag "$VERSION" git push origin "$VERSION" + + - name: Trigger Release Workflow + if: env.TAG_EXISTS == 'false' + uses: actions/github-script@v7 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + script: | + github.rest.actions.createWorkflowDispatch({ + owner: context.repo.owner, + repo: context.repo.repo, + workflow_id: 'CI.yml', + ref: 'main' + })