From 33fc370ff5734bf4421e6f7e10bc7337df461dfb Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Thu, 27 Jun 2024 13:40:13 +0100 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! Disable caller as it's not necessary and generates slight delay. --- .github/workflows/autoupdate.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/autoupdate.yaml b/.github/workflows/autoupdate.yaml index a0607cc..82a1e1b 100644 --- a/.github/workflows/autoupdate.yaml +++ b/.github/workflows/autoupdate.yaml @@ -64,11 +64,9 @@ jobs: run: | CI_RUN=${CI} make test - # if go.mod or go.sum have changed then commit the changes to the repository - name: Commit changes - run: | - git config --global user.email "github-actions[bot]@users.noreply.github.com" - git config --global user.name "github-actions[bot]" - git add go.mod go.sum - git diff-index --quiet HEAD || git commit -m "Update go.mod and go.sum" - git push + 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"