From e1b9c15a2ae50372a5f2b9b977dbb197910f81b9 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Mon, 1 Dec 2025 14:39:36 +0000 Subject: [PATCH] fixup! fixup! Fix autoupdate workflow --- .github/workflows/autoupdate.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/autoupdate.yaml b/.github/workflows/autoupdate.yaml index c9c08a5..7f5e57d 100644 --- a/.github/workflows/autoupdate.yaml +++ b/.github/workflows/autoupdate.yaml @@ -7,6 +7,7 @@ on: permissions: contents: write + actions: write jobs: prepare: @@ -47,7 +48,14 @@ jobs: run: git config --global --add safe.directory /__w/lolcathost/lolcathost - name: Commit changes + id: auto-commit uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: "Update go.mod and go.sum" file_pattern: "go.mod go.sum" + + - name: Trigger release workflow + if: steps.auto-commit.outputs.changes_detected == 'true' + run: gh workflow run release.yml + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}