From 263a0370d326b5be0697d8ada334263e45232519 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Mon, 1 Dec 2025 14:39:40 +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 2bed873..b8d9e4c 100644 --- a/.github/workflows/autoupdate.yaml +++ b/.github/workflows/autoupdate.yaml @@ -10,6 +10,7 @@ env: permissions: contents: write + actions: write jobs: # This job is responsible for preparation of the build @@ -68,8 +69,15 @@ jobs: git config --global --add safe.directory /__w/kportal/kportal - name: Commit changes + id: auto-commit uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: "Update go.mod and go.sum" commit_options: "--no-verify --signoff" 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 }}