From e691332ba0db41421bfb3f9419599d0020105ecc Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Wed, 28 May 2025 17:50:45 +0100 Subject: [PATCH] Attempt to add automatic release trigger to tag push --- .github/workflows/tagging.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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' + })