From 70ac227613b679f2fb3361fe7164d0936c7d9f5a Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Wed, 3 Dec 2025 00:47:35 +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 7f5e57d..b6fd127 100644 --- a/.github/workflows/autoupdate.yaml +++ b/.github/workflows/autoupdate.yaml @@ -56,6 +56,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: 'lolcathost', + workflow_id: 'release.yml', + ref: 'main' + })