From 13723733df05820dc229a8fe1d76596493da8670 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Wed, 3 Dec 2025 00:47:06 +0000 Subject: [PATCH] Update autoupdate workflow. LOL. --- .github/workflows/autoupdate.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/autoupdate.yaml b/.github/workflows/autoupdate.yaml index b8d9e4c..a3516e6 100644 --- a/.github/workflows/autoupdate.yaml +++ b/.github/workflows/autoupdate.yaml @@ -78,6 +78,13 @@ jobs: - name: Trigger release workflow if: steps.auto-commit.outputs.changes_detected == 'true' - run: gh workflow run release.yml - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: actions/github-script@v7 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + script: | + await github.rest.actions.createWorkflowDispatch({ + owner: 'lukaszraczylo', + repo: 'kportal', + workflow_id: 'release.yml', + ref: 'main' + })