From 28752f43968916d9375a67c7a3c8d28dccf1647c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Wei=C3=9F?= <72068105+Sandoun@users.noreply.github.com> Date: Mon, 21 Aug 2023 14:13:33 +0200 Subject: [PATCH] (pipeline) Add ammend auto docs --- .github/workflows/test-pipeline.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test-pipeline.yml b/.github/workflows/test-pipeline.yml index d989c63..fd887d0 100644 --- a/.github/workflows/test-pipeline.yml +++ b/.github/workflows/test-pipeline.yml @@ -51,9 +51,7 @@ jobs: git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git add "./AutoTools.DocBuilder/Docs/plctypes.md" -f && - git commit -m "(AUTO_DOC) add documentation for branch ${{ steps.extract_branch.outputs.branch }}" && - git reset --soft HEAD~2 && - git commit --edit -m"$(git log --skip=1 --max-count=1 --format=%B)" + git commit --amend --no-edit - name: 'Push docs commit' uses: ad-m/github-push-action@master