diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 67fa8a2..6672a02 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -7,6 +7,7 @@ on: permissions: contents: write + actions: write jobs: auto-release: @@ -134,6 +135,14 @@ jobs: echo "Release ${VERSION} published successfully!" echo "https://github.com/${{ github.repository }}/releases/tag/${VERSION}" + - name: Trigger publish workflow + if: steps.check.outputs.exists == 'false' + env: + GH_TOKEN: ${{ github.token }} + run: | + gh workflow run publish.yml + echo "Publish workflow triggered" + - name: Skip (tag exists) if: steps.check.outputs.exists == 'true' run: echo "Tag ${{ steps.version.outputs.version }} already exists, skipping"